-
Couldn't load subscription status.
- Fork 1.2k
Closed
Description
The current Group class appears to be a stub. We can go for a Django like group permission API but not necessarily the way Django implements (I'm assuming they designed it with an RDBMS in mind).
This is how Django does it. A User can be part of multiple Groups. If we need to check if some john has add permission on an object article, we call john.has_perm('add', article). Django internally combines all the permissions in the User object and permissions in all the Groups he is part of and checks if the given permission (add) is present.
Anyone have ideas?
Metadata
Metadata
Assignees
Labels
No labels