Jump to content

Add Group Permissions for 'Addons' in Admin Center


mattia

Recommended Posts

Hi All

is possible add in the admin center new group permission for "addons"?

i have add this code but doesn't work

<?php 
if(PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)
if(strlen($MODULE_NAV_INC) > 0)
{
?>
<li style="padding: 0; margin: 0;"><a class="menu" href="#">
<img src="<?php echo  SITE_URL?>/admin/lib/layout/images/settings_icon.gif" />Addons</a>
<ul style="padding: 0; margin: 0;">
<?php echo $MODULE_NAV_INC; ?>
</ul>
</li>
<?php
}
?>

in my case only FULL_AMDIM may view the "Addons"

Best regards

Mattia

Link to comment
Share on other sites

  • Moderators

Adding new permissions was a pain in the butt, you got to figure out the next permission formula in the app.config.

However, I added ten new permissions, and they worked. But I still wanted to add more but it will mess up. I'm trying to work on something more better, like custom permissions, and you can add new permissions. But not a success.

I wish Nabeel could make some changes with the group permissions, so the VA Admins can optionally add permissions for specific areas.

Link to comment
Share on other sites

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...