Add Moderator to Forum

Ghan_04

Active member
Hi all,

As part of an addon I'm working on, I want to add a moderator to a forum (content moderator), but I'm very confused by how to handle the permissions in the code. It appears to be some kind of array that gets built up and then serialized. I know the permission set I want to add, but I'm unclear on how to accomplish it. Can someone give me any pointers or a link to some reference that better explains how this is set up?

Thanks.
 
Top Bottom