Creating privileges
Privileges are normally created for each menu item (display, output, or action) for an access level. Every menu item should be in a privilege, but you can add more than one menu item to a privilege if they must never be assigned different permissions, such as menu items that point to the same form. This is the most granular level, and will be grouped into duties and roles later.
Since the privilege assigns the access level, we will usually have two--to provide view only, and to maintain (full) access rights.
Getting ready
We will just need an Operations project open in Visual Studio.
How to do it...
To create a privilege to provide view access to the vehicle form, follow these steps:
- Choose to add a new item to the project.
- In the
Add New Item
dialog, selectSecurity
from the left-hand list andSecurity Privilege
from the right. - Enter
ConWHSVehicleTableView
in theName
field and click onAdd
. - Complete the
Description
property; this should describe to the security administrator...