Support multiple LDAP groups per role #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move LDAP groups out of Roles table and create a separate table that maps LDAP group to role, allowing many-to-one relationship between groups and role.
If we remove GroupId as a Foreign Key constraint on the users table, and create a new user-to-group mapping table, then a user can be a member of multiple groups.
Currently, a user can be a member of only one group. A group can be added to multiple safes. Multiple groups can be added to one safe, either readonly or readwrite.
So a user can have access to multiple safes.
A group can have access to multiple safes.
But a user can't be a member of more than one group. That seems ok to me.
Resolved by removing the concept of roles altogether.