How to give only one user more authorization than other users?

Hi all,

I have a question about giving authorization to a user by Admin but not to all users.

Example: Let assume we have 3 levels of users:

  1. Admin as genera manager
  2. HR , Sales as department head
  3. users as normal employees

let say the Admin wants to go for a vacation for one week and wants to give HR department head an authorization(s) during the vacation but not Sales department head.

I DONT know if there is a key word in PHP for this scenario.

In my idea I want to make a php page in Admin account that shows all employees and each employee has a button to go to next page to show all authorization that the Admin can do it and in each one has check box. If any check box is selected, the auth. will be shown in that user.

I hope this is help.

Thank you

Create another level account, something like temp_admin giving access to only what you want to give him/her that can expire or be suspended when the Admin comes back from vacation.

How granular do you want to go? Is this a new system or old? If old, will it support the modifications acceptably?

You can have a user_permission linking table, or a roles based table. You need to define what those permission would be.

Sponsor our Newsletter | Privacy Policy | Terms of Service