title: How to restrict user type roles from accessing other usertype accessible pages in django by url in address bar
body: <p>How to restrict user type roles from accessing other user type accessible pages in Django by URL in address bar</p>
  <p>For eg: 3 user types admin , staff and normal user . Currently in my project if any of the user type logged in they can access other user types accessible page by typing URL so I would like to prevent it could someone please help. Also in case if any user tries to access it should not go to that page instead redirect to current page of that specific user</p>