vintasoftware / django-role-permissions

A django app for role based permissions.

Home Page:http://django-role-permissions.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to have levels in roles?

ledzgio opened this issue · comments

I am implementing a system where each role (Developer, Influencer, Translator, etc.) can have also levels, so a certain user can be a Level 1 Developer, another user can be Level 2 Translator, and so on. Any idea if it is already possible with this app?

@ledzgio hmm good point. If those roles are fixed (ie.: you always know how many levels there are), you can just have a Role class for each. But they will be isolated, you'll have to provision them as if they were completely unlinked.

@filipeximenes yes levels are fixed in my idea, means I should create classes like Developer Level 1, Developer Level 2 and so forth, right?

@ledzgio that's right!