Search code examples
pythondjangodjango-permissions

Is there a Django app that can handle groups and permissions?


I know that Django has a permission/group system. But that's mostly tied to each model. (Correct me if I'm wrong.)

My purpose is to have groups that can do multiple stuff. For example, one group can write to this and that. One group can edit this and that in different servers, different databases. Basically, it's beyond the model system.

I just want a custom groups system that's not tied to any model.


Solution

  • Three permissions are generated per model by default, but you can define additional permissions that you can use for other purposes. From there, the permissions decorator can handle authorization.