title: How can i build Role based permissions access in multi client application in django?
body: <p>I am currently making an architecture for my multi-client application, in which How to implement role based access model. </p>
  
  <p>Every client will make customize-roles and will give permissions to that role. </p>
  
  <p>Finally that role will be assigned to the agent who will then use the application according to the permissions given to his role. </p>
  
  <p>Now my concern is, what can be best practice to make this possible and any idea about architecture that can be implement in Django.</p>
  
  <p>Previously I have made an application which has role based access to the user of application. </p>
  
  <p>In that, I use to save the permissions in the database and at the time of login the permissions of user will save in the session, which later can be use to check the permissions of that user.</p>