Hi Friends,
I need some information about Django.
Basically i'm PHP developer. nowadays moving to python with micro services. But i need to know how to handle user authorization in Django.
For example is,
The site have two different users logins. One for front users and site administrators users.
The front users have multiple users level and also administrator panel also different levels there.
The front user means like one client, the client have multiple users like employees based on the level the page will available.
Coming to admin panel also the site owner also have multiple employees, and the employees also have different roles.
Coming to me what was we used in earlier for database table structures is, like
Front Users Table:
1. users
2. roles
Site Admin Panel Table:
1. admin_users
2. admin_roles
In Django have inbuilt administrator panel and also have different level authorization.
I'm confused how to handle this. I want to create a users and roles table and want handle sessions in differently or i want use existing Django inbuilt admin users tables???
Please clarify this, it will help me lot and moving further things.
Thanks for reading this.