Can we create an empty permission?
Posted by z Jean-jacques Jouanneaux on 26 August 2010 03:16 PM

Can permissions be created that basically do nothing? For instance, create a permission that is not tied to a method, property or control. Basically just a name.

The idea would be that I give this permission to a role and in code be able to query if the user has that permission. I believe you would support this but didn't specifically see this in your demo or forum.

Definitely. You can create such a permission and query in the code if a user has been assigned this permission.
It's possible too for a Role.

You can query, in the code, if the user has this particular Role.

Visual Guard

(0 vote(s))
Not helpful

Comments (0)
Help Desk by Novalys