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

Default everyone group #180

Open
d-513 opened this issue Jun 8, 2022 · 2 comments
Open

Default everyone group #180

d-513 opened this issue Jun 8, 2022 · 2 comments
Labels
backend Issues that require a backend change enhancement New feature or request good first issue Good for newcomers

Comments

@d-513
Copy link
Contributor

d-513 commented Jun 8, 2022

Some services want a group to be present for config, so a default group that everyone gets assigned to would be useful.

@nitnelave nitnelave added enhancement New feature or request good first issue Good for newcomers labels Jun 8, 2022
@nitnelave
Copy link
Member

For this feature, the most elegant solution I see going forward is:

  • on startup, if the "lldap_everyone" group doesn't exist, create it and add every existing user to it.

  • when creating a user, add it to the group.

  • prevent deleting the "lldap_everyone" group (like lldap_admin and lldap_readonly (need to add that one))

  • in the web UI, when creating a user, have a default checked checkbox "add to lldap_everyone group", and propagate that in the query.

@nitnelave nitnelave added the backend Issues that require a backend change label Nov 10, 2022
@binaryben
Copy link

What about allowing a config option to define a number of groups (0 or greater) that every user is added to by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues that require a backend change enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants