Store and Get list of groups and permissions in DB and Assign permissions to groups with a web interface. #448
-
Since Shield does not use the "auth_groups" tables to store the list of groups and "auth_permissions" to store the list of permissions and the "auth_groups_permissions" table to assign permissions to groups, it uses the setting() package Instead, ( Config\AuthGroups, groups or permissions and matrix to assign permissions to groups.) so my question is : Why not use these previous tables as myth-auth (it was easy to manage all this from a web interface)? I tried to create a web interface to list, create and edit permissions and groups and manage assignments, but unfortunately it was very difficult to work with this new architecture because I am a beginner so I ask you if it Is there anyone who has an idea or help me develop this web interface. thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
It just has a different set of goals. For a working example of dealing with user/group permissions, please check out Bonfire's Users and Groups code. |
Beta Was this translation helpful? Give feedback.
-
See also |
Beta Was this translation helpful? Give feedback.
-
IMHO, this was an unfortunate decision of Shield's developers (not having proper tables for users_groups and permissions). It is still a pain (so much work) to simply edit (change) an existing group using the settings service. Remember that one cannot delete a single key from the |
Beta Was this translation helpful? Give feedback.
It just has a different set of goals.
For a working example of dealing with user/group permissions, please check out Bonfire's Users and Groups code.