Local and global permissions

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
StevieWonderer
Registered User
Posts: 14
Joined: Wed Oct 12, 2011 1:06 am

Local and global permissions

Post by StevieWonderer » Mon Sep 04, 2017 7:57 pm

There's an example on this page that says:

Code: Select all

    return array(
         array('permission.add', array('a_new')), // New global admin permission a_new
         array('permission.add', array('m_new')), // New global moderator permission m_new
         array('permission.add', array('m_new', false)), // New local moderator permission m_new
         array('permission.add', array('u_new')), // New global user permission u_new
         array('permission.add', array('u_new', false)), // New local user permission u_new
   );
The bottom line confuses me. What is the difference between a local user permission and a forum permission?

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests

cron