This topic is locked

Hide tabs from other Admin users

3/17/2011 6:05:51 PM
PHPRunner General questions
Y
yksafo author

Hi,
How would I hide other tabs in the Admin Area from other Admins.

There some tabs that I don't want my admin user to really see...like table names but I want to be able login and see them and set permissions as required.

This is an admin with sort of limited capabilities.
thx

Admin 3/21/2011

I guess you simply need to define two different user groups like admins and superadmins and set a different permissions set for each group.

Y
yksafo author 4/20/2011



I guess you simply need to define two different user groups like admins and superadmins and set a different permissions set for each group.


The group permission are set dynamically so the three tables are generated automatically. How do I hide these tables from other admin groups such as the admin and superAdmins. For example, how do I hide/disabled the "Assign users to groups" table if the user that's logged in is an admin and not a superAdmin.

Admin 4/20/2011

What you looking for is a group that is admin and is not admin at the same time. PHPRunner cannot do that. All admins are able to access "Assign users to groups" page.

Y
yksafo author 4/21/2011



What you looking for is a group that is admin and is not admin at the same time. PHPRunner cannot do that. All admins are able to access "Assign users to groups" page.


How do I find the name of the table then ....I should be able to programmatically hide it from any user or group just like any other table right???

Admin 4/21/2011

This is not a table but a special page. It won't work this way.

H
horsey_kim 4/21/2011



How do I find the name of the table then ....I should be able to programmatically hide it from any user or group just like any other table right???


I am not sure If I got this right, but you want a group to be able to see the users info, but not have the ability to update or change it correct? I did this once. The tables generated by the dynamic table should show up on your table list. Just create a custom view of the table of what you want them to see.
If your having these admin see passwords and don't want them to view superadmin passwords, then I suggest create groupid for each member. Its been a while, but I think you can add a field to the members table. Then give each superadmin a "group name". Then in the query of your custom view for admin only, set up the query to not pull the info on any superadmin based on the "group name" assigned to the superadmin. Then the admin can't see the superadmin info. Or another option is just don't allow passwords in your query at all and show everyone.
I don't know if that help or made it worse.