I'm building a Django web application in which I have two roles e.g. sys_user
and an exhibitor
. When a sys_user
logins in he has access to all the urls and app modules but an exhibitor
will have limited access i.e he will have access to specific urls and app modules. Consider the following:
When a sys_user
logs in he should see (the following sidebar) and have access to all the modules like:
--- Module1
--- Module2
--- Module3
--- Module4
When an exhibitor
logs he should see (the following sidebar) and have access to only the following modules like:
--- Module1
--- Module2
Now I know that Django provides its own permissions but I don't really know how they fit into my situation or is there any other alternative approach for this. Please point me in the right direction. Thanks