Django Development. User access control api
Download 81,55 Kb.
|
shok documentation to understand (2)
- Bu sahifa navigatsiya:
- User): Macy Store Owner Can do following
Django Development. User access control API There are totally 5 types of Users:
Can Create/Import Contact
Agent can Create /Import Contacts
Customer can create /Import contacts, Employees and Visitors
Can create Contacts /Import Contacts
Every user will have User type definition Every user gets subdomain and can be disabled by the access control of the master user of the user. So, for example if the user is customer, then agent can disable customer and customer can disable visitor and admin can disable any user. Hierarchy Defined Example below: Super Admin: Hugo’s Labs [The Company the Creator Grant Owner] Master Domain: Hugoslabs.com Admin Creates 4 Agents who Manage 4 customers for each Region.
Location: San Francisco Responsible to Manage 4 local stores for the assigned area and creates 3 stores after logging into the system, First California Agent 1 creates for users Creates Customer Store 1: Name Macy User Type: Customer Subdomain Creation Option Selected [ Yes]: Macys.Hugoslabs.com The system automatically/based on user preference creates Subdomain Macys.hugoslabs.com, after creation adds 4 of his customers as listed below in the system. Customer type users cannot create Agent or Super Admin or other customers. (User): Macy Store Owner Can do following
Can create as many Sub-User that is Employees User Macys can create Many Employees Visitors Macy’s users can create many visitors
Creation of Kiosk can be made Private or Public. Example Macy may want some employee videos assigned to Kiosk to be shared only with Employees and for the store visitors to view any kiosk that are not private.
Macys has two types of Logins
Where all the kiosks with respective names are displayed. Note: Administrative login is common for all users even Employees, Visitors can view Kiosks and upload Documents. Similar functions can be repeated by Store 2…4 Creates Customer Store 2: (User): Food Store Can create as many Sub-User that is Employees Visitors
Creates Customer Store 3:
Super Admin: Hugo’s Labs [The Company the Creator Grant Owner] Agent 2: Name: California Agent2 Location: Sacramento Responsible to Manage 4 stores and logs into system and users Creates Customer Store 1: (User): JcPenny Shits Creates Customer Store 2: (User): Apple Fruits Store Creates Customer Store 3: (User): Trader Jessica Juice Super Admin: Hugo’s Labs [The Company the Creator Grant Owner] Agent 3: Name: California Agent3 Location: San Jose Responsible to Manage 4 stores and logs into system and users Creates Customer Store 1: (User): Andrea Swim Dress Creates Customer Store 2: (User): Chochlate Store Creates Customer Store 3: (User): Brandon furniture Agent 4: Name: California Agent4 Location: Hollywood Responsible to Manage 4 stores and logs into system and users Creates Customer Store 1: (User): Hollywood Dresses Creates Customer Store 2: (User): Actor Gift Store Creates Customer Store 3: (User): Actor Restaurant Download 81,55 Kb. Do'stlaringiz bilan baham: |
ma'muriyatiga murojaat qiling