Welcome Guest, Not a member yet? Register   Sign In
Myth Auth - Working with groups and permissions
#8

(This post was last modified: 06-24-2021, 05:42 AM by ikesela.)

for role, you need to set role in auth_groups, then add user to auth_group_users
auth_groups
1 | admin
2 | member

auth_group_users
group_id | user_id
1 | 1
2 | 2

this 2, enough for setting role in filter

for permission, set permission in auth_permissions , then add user to auth_user_permissions (for user) or auth_groups_permissions (for group)
Reply


Messages In This Thread
RE: Myth Auth - Working with groups and permissions - by ikesela - 06-24-2021, 05:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB