Hi.
Is there anyway or an easy way of hiding what a admin ( other than a master admin account ) can see on the admin pages?
For example if I set a user so they can only upload images I want to hide the rights check boxes and manage albums toggle...
Is there a way of including an extra css file if a user only has limited rights for example.
Any help welcomed.
Sp
Comments
I went through and put a loop (see below) around all options that I did not want the other admins to see.
`
if($_zp_current_admin['user']=="my_username") {
}
`
So you can just hide all the tabs that you don't want others to see. I did this with plugins and themes since I don't want the other admins to tinker with it.
What users can see is all dependent on the user's rights, including the tabs on the back-end. If you don't want the user to see something in particular, then don't give the user those rights.
"user A" has the following rights "Album" and "upload"... however on "user A's" admin page the check boxes are still displayed, They cant select anything but they are still displayed nonetheless...
I just want to find a way to hide those checkboxes from being displayed...
Any thoughts?
SP
the question "I cant seem to change my privilages... Is it not working?".
It would just make life a bit easier if it was not there
the "manage albums" toggle was easy enough to remove from the user's page with a bit of css and still keep it on the master admin... and I would do the same with the check boxes but there is nothing for me to get hold of with css...If I remove it from one page it gets removed from all...
Sp
I have put "N/A" on the labels in "lib-auth.php" next to the ones that they dont have access to... it will say the same in the master admin section but we know what we are doing so its ok
But to answer your question, We are hoping to have a lot of users, and yes rather than answering the same question over and over again it would be easier to just not have to answer it... One user asked the same question in at least 10 different ways recently...
SP
That does either not really speak for the user or your explanations..;-)