Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2220

Extension Writers Discussion • Forum permission not showing in group forum permissions

$
0
0
I've created a new permission for an extension that needs to add said permission for forums. This is what it looks like in the event listener:

Code:

$event->update_subarray( 'permissions', 'u_send_super_posts', [    'lang' => 'ACL_U_SEND_SUPER_POSTS',    'cat' => 'post'] );
I need it added to the Post tab.

When I go to ACP :arrow: Permissions :arrow: Forum roles, I can see the new permission in the Post tab as I expect.

However, when I go to ACP :arrow: Users and Groups :arrow: Group forum permissions, I can't see the new permission at all and I'm kinda lost really because I don't know why it isn't working. What have I done wrong here?

Statistics: Posted by danieltj — Mon Dec 30, 2024 8:50 pm



Viewing all articles
Browse latest Browse all 2220

Trending Articles