Users may be placed into one or more groups in the SanteDB system . A group (or role) represents a functional responsibility that a user has plays within the system. For example, you may create a security group for CLINICAL_STAFF, and another group for HIV_PHYSICIANS. You can then assign policies to each group.
Groups can be reviewed by selecting the Security > Group panel on the SanteDB administration panel.
Once you've created a group, you cannot change its name, only its description can be modified in the settings. Unlike users, SecurityRole (groups) objects do not have a clinical representation.
SanteDB supports a very robust policy infrastructure. The security architecture is described more in the architecture section however, in brief policies are applied to users , using applications, on devices. User policy associations occur through the SecurityRole objects to which the user belongs.
You can set one of three permissions on each policy:
Grant: The user is granted access to the policy (either permission policy or data policy)
Deny:The user is explicitly denied access to the policy (any permission which demands it, or any data which has it assigned)
Elevate: By default, the user is denied access to the action/data the policy is attached to , however if the user belongs to a group which has the Override policy, they will have the opportunity to elevate themselves (similar to Windows UAC) to obtain access to the data or action they were attempting to access.
To assign a new policy to a group, search for the policy and press the add button, then assign the permission you'd like that group to have.
You can determine effective permissions on a particular user by running the SanteDB Administration console and typing:
Which will produce a list of effective permissions for that user:
Managing user memberships in a group is done the same was as managing policies. You can add or remove users to/from a group using the Members portion of the edit group panel