Navigation
PostCalendar
Login
Allow only GroupA to see CategoryA, while only GroupB to see CategoryB
This one demonstrates the power of both PostNuke’s permission system and PostCalendar’s flexibility. Here we will set up two groups: Business and Subscribers, and limit them by only allowing the Business group to view and add to the Business category, while the Subscribers only will be able to view/add events in the Subscribers category.
Before creating permissions, you must create these groups of course in the Group Admin, then add the users to their appropriate groups. Once this is done, set up your permissiong as follows:
Explanation
Line 3: Business PostCalendar::Category Subscribers:: None
This line disables access to the Subscribers category to all users in the Business group
Line 4: Business PostCalendar::Category Business:: Add
We now allow the Business group to ADD and VIEW events in the Business category
Line 5: All groups PostCalendar::Category Business:: None
We disable everyone seeing and accessing the Business category, even though the Users group have access to ADD events, they will not even SEE the “Businsess” category in the drop down list.
Line 6: Business PostCalendar:: :: Add
We give access to the Business group users to Add events to PostCalendar, all sections except for Subscribers (see below)
Line 7: Business .* .* Comment
This is for the other PostNuke environment, we give the Business users the ability to Overview, Read and Comment in the various sections of PostNuke.
Line 8: Subscribers PostCalendar::Category Subscribers:: Add
Now we come to the second group: Subscribers and give them access to Add events into the Subscribers category.
Line 9: All groups PostCalendar::Category Subscribers:: None
We now prevent everyone else from accessing the Subscribers category
Line 10: Subscribers PostCalendar:: :: Add
We give the Subscribers group the ability to Add events to the other sections of PostCalendar.
Line 11: Subscribers .* .* Comment
Like the Business group above, we give the Subscribers group access to the PostNuke environment.
Line 12: Users PostCalendar:: .* Add
Now we give the “general registered users” the ability to add events to PostCalendar. However, because of the way that PostNuke’s permissions system work (top to bottom), they will NOT have access to the Business or the Subscribers categories. These two categories will not be present in the drop down list in the “submit” screen.
Line 15: Unregistered .* .* Read
Because we globally give the unregistered users “read” access to the PostNuke environment, they WILL be able to see the PostCalendar sections, both blocks and main screen. To disable them from viewing the PostCalendar sections, read the appropriate section in the Permissions Wiki.

