Jump to content

Sessions with assigining different privileges to Users


newlearn

Recommended Posts

How does session works with assigning different roles to users. Like All privileges to Admin  and very few to users.

 

Do I create separate pages and redirect users  to different privileged pages?

 

If somebody logs on as Admin, he/she can view all the pages.

But when an employee logs on, he can only see a few options. 

 

How does the above things work?

 

generally speaking, one assigns a "minimum clearance" to each page - any page that a lower level (user) can see, an admin can see and use as well.  however, if you specify that the user must have a minimum of "admin" clearance, they will be unable to access it as a regular user.  i'd say this is the best way to go about it, as you avoid creating an entirely different set of pages for each user level.

 

if the content changes drastically from user level to user level, then it's worth creating a separate directory for each most likely.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.