PostNuke Help

Previous
Forum permissions

Home

Next
PostNuke API Command Reference


Forum Permissions Examples

The following are some examples on how to use the PostNuke permission system in the phpBB_14 forums module. The following names are used in all examples:

Category: General
Forum: Chitchat and discussion
User Group: Mygroup
User: JimDude

Example 1.

Task:
Cut off Unregistered users from accessing private forum. Unregistered users will not even see that a private forum exists.

Go to Administration/Permissions/New group permission, and set values as follows:

Group Component Instance Permissions level
Unregistered phpBB_14::Forum Chitchat:: None

Because upper lines override lower, the newly created group permission should be above this line:

Group Component Instance Permissions level
Unregistered .* .* Read

Example 2.

Cut off Unregistered users to a whole category. All forums inside the category will be inaccessible.

Group Component Instance Permissions level
Unregistered phpBB_14::Category General:: None

Because upper lines override lower, the newly created group permission should be above this line:

Group Component Instance Permissions level
Unregistered .* .* Read

Example 3.

Let Unregistered users view forums in a category, but not post or reply to posts.

Because upper lines override lower, the newly created group permission should be above this line:

Group Component Instance Permissions level
Unregistered phpBB_14::Category General:: Read

Again, because upper lines override lower, the newly created group permission should be above the line:

Group Component Instance Permissions level
Unregistered .* .* Read

Example 4.

Let a closed Usergroup access all forums in a category. All users not in this group are fully cut off.

The first thing to do is to create the User group and populate it with users (see the groups section of this help for information on how to do this).

Group Component Instance Permissions level
Mygroup phpBB_14::Category General:: Edit
All groups phpBB_14::Category General:: None

Because upper lines override lower, the newly created group permissions should be above BOTH of these lines:

Group Component Instance Permissions level
Unregistered .* .* Read
Users .* .* Comment

Example 5.

Assign moderator rights to a specific user. This is done in two parts: first you have to define the user as a moderator of the forum using the phpBB_14 admin pane; next, you have to give the same user moderator rights in the PostNuke permission system. This is done using this scheme:

User Component Instance Permissions level
JimDude phpBB_14::Forum Chitchat:: Moderate

Be very careful of using USER permissions. They will always override any group permissions. If you do something wrong, you may end up shutting your self out! Always use other usernames that your ADMIN name, when playing around with user permissions!!

Example 6.

Assign a user to be moderator for two forums. This is done in two parts: first you assign the user as moderator to both the forums using the phpBB_14 admin pane; next, you have to give the same user moderator rights in the PostNuke permission system. This is done using this scheme:

User Component Instance Permissions level
JimDude phpBB_14::Forum (ChitChat|discussion):: Moderate

Be very careful of using USER permissions. They will always override any group permissions. If you do something wrong, you may end up shutting your self out! Always use other usernames that your ADMIN name, when playing around with user permissions!!


Previous
Forum permissions

Home

Next
PostNuke API Command Reference