Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:42 am EST

Geeklog Forums

My GL Version Is My Business


robot-penguin

Anonymous
How can I stop Non-Root admins from seeing the `GL Version Test` on the admin menu. If they are something like a Story Admin I don't want them seeing that. Is there any way I could do this?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, I had the same thought recently. I guess only people with root access should be able to see this option. Can you submit a feature request for this? So we don't forget about it again ... In the meantime, have a look at function COM_adminMenu() in lib-common.php. The last option that is added in that function is the one for the version checkd You only need to wrap this in a if( SEC_inGroup( 'Root' )) { ... } to prevent anyone not in the root group from seing this option. bye, Dirk
 Quote

All times are EST. The time is now 06:42 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content