Is this the right way for a permission set as (forum, eatNuts)?
Then I can set permission to the usergroup and/or to a forum->permission->usergroup->permission?
My example does not work, and I dont know why.
Code:
if (($visitor->hasPermission('forum', 'eatNuts')
|| $visitor->hasNodePermission($forum->node_id, 'eatNuts'))
Then I can set permission to the usergroup and/or to a forum->permission->usergroup->permission?
My example does not work, and I dont know why.