Open raulsperoni opened 2 years ago
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?
Thank you.
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!