By Lee Sykes
December 2009
In this tutorial we demonstrate working with the new page and module permission features in DotNetNuke 5.
In the latest version of DotNetNuke, an addition has been made to the permissions area where you now have 3 options available for assigning view and edit permissions. These options are, a user does not have view permissions, a user has view permissions, and a user is denied view permissions, these permission options are available for both the pages and modules in DotNetNuke.
In this tutorial we demonstrate how you can take advantage of the new view permission option to choose exactly who can view the content on your website.
We show you how to configure:
- A module that everyone can view
- A module that only the "magazine subscriber" security role can view
- A module that everyone can view except for the "magazine subscriber" security role
- A module that only registered users can view except for the "magazine subscriber"
These options now provide some powerful functionality, for example, you could display text to all users except for any users that have the magazine subscriber security role that states, "To read this article you need to subscribe."
If you are new to security roles, pages and module permissions, please view these tutorials first as this tutorial assumes that you already have a working knowledge of setting up new users and security roles:
The videos contain:
Video 1 - Working with Page and Module Permissions
- Introduction to the new permission options in DNN 5
- How to create a page
- How to add a module to the page that everyone can view
- How to create a "magazine subscriber" security role
- How to create a new user and assign the "magazine subscriber" security role
- How to add a module to the page that only "magazine subscribers" can view
- Demonstration of viewing as a standard user and "magazine subscriber" user
Time Length: 8min 34secs
Video 2 - Demonstration of the New DENY Permissions in DotNetNuke
- How to add a module to the page that anyone can view who is NOT a "magazine subscriber"
- Demonstration of viewing the modules logged out and as a "magazine subscriber"
- How to add a module to the page that displays to registered users who are NOT "magazine subscribers"
- How to add a registered user
- Demonstration of viewing the modules logged out, as a registered user and as a "magazine subscriber"
- How to configure a module to display just to logged out users and NOT to registered users or "magazine subscribers"
- Demonstration of viewing the modules logged out, and as a registered user
- Demonstration of setting page permissions
Time Length: 9min 18secs
Total Time Length: 17min 52secs
Comments