Jump to content

Issue with Pilot Groups/Admin


G-NEWC

Recommended Posts

Hi,

I think there is a slight issue with the core_navigation and issueing admin rights through the Pilot Groups.

I have added the group "Operations Manager", and do not wish to give full admin rights to this group. I have not clicked "Full Admin Access", but only "Access Admin" and a couple of other permissions, such as the ability to edit PIREPS & Add News.

Because this is not classed in the group "Administrator", this member of the group cannot see the "Admin Center" link on the top of his/her header on the webpages. Therefore cannot access the admin panel apart from going to URL/admin.

Could this be fixed,so that these groups can also have the "Admin Center" link on the top of the homepage?

James

Link to comment
Share on other sites

  • Administrators

This is the beta right? I can't remember if I released the admin roles yet...

What you'll have to do, in core_navigation.tpl

Replace:

if(Auth::UserInGroup('Administrators'))

With

if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))

Had been updated for next release, though. Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...