A few days ago, we introduced our product “DNN Dynamic Roles“. Now it’s time to go a bit deeper: What’s the purpose of this module? Who needs it? What can you do with it?
If you are a DNN administrator or editor, you probably know that a page is made up of several components, or “modules” in DNN’s language. You can control who is allowed to see which parts of your portal by employing roles: By adding and removing roles to each module’s permission list, you can widen or restrict the visibility of your page modules. The default setting is “All Users” can “View Module”. Quite a good guess in most situations.
Controlling permissions seems easy this way: Just create a new role, add some users, and assign the new role to a module’s permission list. That’s it. But wait…
There are situations where controlling content visibility and accessibility by statically defined roles is not enough. Think of customer segmentation: A user visits your website via a specific link, banner, advertisement, or landing page. A user comes from a specific region on earth. A user is already a member of certain other roles. A user sends a well known tracking cookie. You can probably image a lot more scenarios like these.
This is where DNN Dynamic Roles comes into play: The module allows you to define roles within DNN dynamically. This is done by defining rules which, when matched by the current user, arrange it so that the user concerned is added to the corresponding role. Vice versa, a user can be automatically removed from the role as soon as the ruleset doesn’t match anymore.
One of the benefits of hooking into DNN’s role system is that you can use all your dynamically created roles in any place where DNN deals with regular roles. Especially you can use the dynamic roles in a module’s permission list, making it easy to show or hide content based on user segmentation.
The rules are defined by a portal administrator by using XML syntax. There is a list of all the allowed XML tags and attributes including useful examples on our website.
Sounds useful? It definitely is! We have an evaluation version of DNN Dynamic Roles on hand which you can use to find out if our module fulfills your requirements. If you decide to go with DNN Dynamic Roles, licensing fees start at $99, including 1 year of free updates.