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:
I need it added to the Post tab.
When I go to ACP Image may be NSFW.
Clik here to view.
Permissions Image may be NSFW.
Clik here to view.
Forum roles, I can see the new permission in the Post tab as I expect.
However, when I go to ACP Image may be NSFW.
Clik here to view.
Users and Groups Image may be NSFW.
Clik here to view.
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?
Code:
$event->update_subarray( 'permissions', 'u_send_super_posts', [ 'lang' => 'ACL_U_SEND_SUPER_POSTS', 'cat' => 'post'] );
When I go to ACP Image may be NSFW.
Clik here to view.

Clik here to view.

However, when I go to ACP Image may be NSFW.
Clik here to view.

Clik here to view.

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