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: Adding groups and group permissions? #219

Open
DaanSelen opened this issue Oct 16, 2024 · 1 comment
Open

Feature Request: Adding groups and group permissions? #219

DaanSelen opened this issue Oct 16, 2024 · 1 comment

Comments

@DaanSelen
Copy link

Expanding on #29

I wanted to inform about current plans on adding groups or companies that can manage certain zones? A bit like ZoneControl and PowerDNS-Admin?

@gjherbiet
Copy link

We are also interested in adding group management as one of the missing features of dns-ui.

While I have yet to produce some code, these are the foreseen features and implementation, for discussion:

  • keep the same zone access levels (zone admin, zone operator)
  • allow to assign zone access levels to groups besides users (in a new "Group Access" zone tab)
  • use the highest zone access level between group-based and user-based
  • allow to create groups and manage users group membership (in a new "Groups" menu)
  • ideally allow to create groups on the fly either from LDAP or PHP headers (perhaps with a filter on the returned group names), like what is done for users currently

Based on what @thomas-pike said on #29 (comment), this would require:

  • a new group table to store the groups
  • a new group_membershiptable to store the group memberships
  • either a redesign of the zone_access table (add a group_id column) or create a separate zone_group_access table
  • Update the $zone->list_access(), $user->access_to() and $user->list_admined_zones() and potentially other functions in charge of managing access levels to zones.

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

No branches or pull requests

2 participants