You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm still integrating this lib and have some questions.
I'm trying to model a hierarchical organization. I have Organization extending from Group and User extending from Member. I want to create Users that have permissions over the sub organization of which they are members.
After creating the user I'm using add_member to add the User to the Org and assign_object to assign the Org object to the Org group.
Running some tests I see that permissions are correct over the Organization objects, but the Users have no permissions over the models. This is causing for example that a user has no permissions for Django admin.
Do I have to add these permissions manually, or I'm using this the wrong way?
Thank you for your patience!
The text was updated successfully, but these errors were encountered:
Furthermore, even if inside the tests a member of a Group has permissions over the group descendants, I'm not being able to reproduce this in the actual database, and the member only has permission over his group. Can you think of some sanity check for this situation?
Hi, I'm still integrating this lib and have some questions.
I'm trying to model a hierarchical organization. I have Organization extending from Group and User extending from Member. I want to create Users that have permissions over the sub organization of which they are members.
After creating the user I'm using
add_member
to add the User to the Org andassign_object
to assign the Org object to the Org group.Running some tests I see that permissions are correct over the Organization objects, but the Users have no permissions over the models. This is causing for example that a user has no permissions for Django admin.
Do I have to add these permissions manually, or I'm using this the wrong way?
Thank you for your patience!
The text was updated successfully, but these errors were encountered: