Page 1 of 1

Hiding Admin user from others

PostPosted:Thu Aug 28, 2014 10:48 am
by mohasinmujawar56
Is there any way to hide main admin details from other users in user_list.jsp who has admin rights.?
For example I want to hide details of okmAdmin in user_list.jsp from other user with ROLE_ADMIN role and have access to Administration tab. Is there any way to do this?
How can I prevent other users from editing details of main administrator.

Re: Hiding Admin user from others

PostPosted:Sat Aug 30, 2014 10:28 am
by jllort
ROLE_ADMIN is a super user grant. That means be able to change anything. Is not possible, should modify administration source code for it.
- What you need is modify user_list.jsp ( case okmAdmin show all users otherside filter users who has ROLE_USER ). Develoeper guide here http://wiki.openkm.com/index.php/Developer_Guide
- Best solution is create a profiles for administrator, to indicate what operations can do in administration and what can see. Obviously this is the best scenario, what need more time to be implemented.