Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow visibility of lists to specific domains #171

Open
qosobrin opened this issue Jan 24, 2018 · 3 comments
Open

Feature request: Allow visibility of lists to specific domains #171

qosobrin opened this issue Jan 24, 2018 · 3 comments

Comments

@qosobrin
Copy link
Contributor

It would be interesting to allow visibility of lists to certain domains defined by the list owner. It would be useful in cases like mine. I work for a university and we use a domain for our mailing lists, lets say lists.university.org, and a two different domains for our users accounts, students.university.org and staff.university.org
Since there are not users in the lists.university.org domain, I can not use the intranet visibility option. Furthermore, having this option available would allow me to restrict visibility of some lists to one of those communities, for example, staff.university.org

@sivertkh
Copy link
Member

Hi,
Not per owner, but you can add other domains to the scenario file or create a custom one.

match([sender],/university\.org$/) smtp,dkim,smime,md5 -> do_it
More on the scenarios and syntax:
https://www.sympa.org/manual/authorization-scenarios

@qosobrin
Copy link
Contributor Author

Okay, that's a good workaround for the problem than I'm proposing, but it has some issues. If you create a new scenario, it will be available to be selected for all the lists in the same sympa robot (if you create it at robot level). The listmaster (or even the system admin) will have to create a new scenario for any new combination of domains that you want your list to be visible from.

My solution is far more elegant since:

  • it gives the management of the list visibility to the owner, not to the listmaster.
  • it allows to create new combinations of visibility options for any single list, without complicating them for the rest of the lists in the same robot.

Of course I am not limiting this to the visibility options. It applies to any other scenario where the intranet option is used.

@qosobrin qosobrin changed the title Allow visibility of lists to specific domains Feature request: Allow visibility of lists to specific domains Jan 27, 2018
@ikedas
Copy link
Member

ikedas commented Jan 30, 2018

I suppose there are some options:

  1. Preparing custom scenarios by each case:

    If there are three subdomains, say student., teacher. and staff., required scenarios are five (I guess the case "student and staff only" is not required). This requires no changes of Sympa, is easy to implement for listmasters and is not so complicating to configure for owners.

  2. Making scenario sources be editable by owners:

    This requires relatively insignificant changes of Sympa, and is a bit difficult for owners: They should learn about syntax of scenario files.

  3. Implementing parameterized scenarios (like parameterized data source such as member_include):

    This requires relatively significant changes of Sympa, and is easy for listmasters and owners.

  4. Other (I couldn't think out)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants