About entitlement profile build process
When requested to build a user’s entitlement profile, Active Roles performs the following steps.
-
Prepare a list of the user’s groups, that is, a list of the security groups to which the user belongs whether directly or because of group nesting.
-
Prepare a list of the user’s managed objects, that is, a list of the directory objects for which the user is assigned as the primary owner (manager) or a secondary owner.
-
For each entitlement profile specifier of the personal resource entitlement type, evaluate the entitlement rules of that specifier against the user’s account. If the user’s account matches the entitlement rules, then add information about the resource to the entitlement profile, presenting the resource in accordance with the resource display settings found in the specifier.
-
For each of the user’s groups, apply the entitlement profile specifiers of the shared resource entitlement type as follows:
-
For each specifier, evaluate the entitlement rules of that specifier against the group.
-
Once a specifier has been found such that the group matches its entitlement rules, then add information about the resource to the entitlement profile, presenting the resource in accordance with the resource display settings held in the specifier.
-
If the group matches the entitlement rules of more than one specifier, apply the first specifier found and disregard the others.
-
For each of the user’s managed objects, apply the entitlement profile specifiers of the managed resource entitlement type as follows:
-
For each specifier, evaluate the entitlement rules of that specifier against the managed object.
-
Once a specifier has been found such that the managed object matches its entitlement rules, then add information about the resource to the entitlement profile, presenting the resource in accordance with the resource display settings held in the specifier.
-
If the managed object matches the entitlement rules of more than one specifier, apply the first specifier found and disregard the others.
Entitlement rules play a central part in the process of building the entitlement profile. It is the entitlement rules that determine whether Active Roles regards a given user as entitled to a given resource, and thus adds information about that resource to the user’s entitlement profile. When evaluating entitlement rules against a particular object, Active Roles performs the following steps.
-
Apply the explicit exclusion rules. If the object is in the list of excluded objects, then disregard the remaining rules, and mark the object as not matching the rules. Otherwise, proceed to the next step.
-
Apply the explicit inclusion rules. If the object is in the list of included objects, then disregard the remaining rules, and mark the object as matching the rules. Otherwise, proceed to the next step.
-
Apply the filter-based exclusion rules. If the object satisfies the rule condition, then disregard the remaining rules, and mark the object as not matching the rules. Otherwise, proceed to the next step.
-
Apply the filter-based inclusion rules. If the object satisfies the rule condition, then mark the object as matching the rules.
It may occur that the entitlement target object matches the entitlement rules of more than one specifier. In this case, Active Roles needs to choose a single specifier from those matching the entitlement target object. This is accomplished as follows:
-
Examine the edsaPriority attribute of each specifier, and look for specifiers that have edsaPriority not set. If no such specifier found, then proceed to Step 3. If a single specifier found, then apply that specifier. Otherwise, proceed to Step 2.
-
Range the specifiers that have edsaPriority not set in ascending alphanumeric order by name, and apply the specifier that goes first. Do not perform Steps 3–4.
-
Choose the specifiers with the lowest edsaPriority value. If a single specifier has the lowest edsaPriority value, then apply that specifier. Otherwise, proceed to the next step.
-
Range the specifiers with the lowest edsaPriority value in ascending alphanumeric order by name, and apply the specifier that goes first.
NOTE: Specifiers that have edsaPriority not set take precedence over those for which edsaPriority is set.
Once Active Roles has identified a single specifier for entitlement to a given resource, it uses the resource display settings of the specifier to build a section of the entitlement profile that displays information about the resource. If multiple resources match a particular specifier, then the sections specific to those resources are grouped together in an expandable block, to prevent the entitlement profile display from cluttering.
Entitlement profile configuration
In Active Roles, entitlement profile specifiers provide the ability to store the definition of entitlement to a particular resource in a single object. entitlement profile specifiers determine the contents of the entitlement profile.
When building the entitlement profile of a given user, Active Roles uses the entitlement profile specifiers to determine what resources the user is entitled to, and what information about each resource is to be shown in the entitlement profile.
Active Roles comes with a collection of predefined specifiers, and allows administrators to create additional specifiers or change existing specifiers. You can use the following instructions to create or change entitlement profile specifiers:
For a list of pre-defined specifiers, see Predefined specifiers.
Creating entitlement profile specifiers
Active Roles stores entitlement profile specifiers in the Entitlement Profile Specifiers container. You can access that container by expanding the Configuration > Server Configuration branch in the Active Roles Console tree.
To create an entitlement profile specifier
-
In the Console tree, under Configuration > Server Configuration > Entitlement Profile Specifiers, right-click the container in which you want to create a new specifier, and select New > Entitlement Profile Specifier.
For example, if you want to create a new specifier in the root container, right-click Entitlement Profile Specifiers.
-
In the New Object - Entitlement Profile Specifier wizard, type a name and, optionally, a description for the new specifier.
The name and description are used to identify the specifier object in the Active Roles Console.
-
Click Next.
-
Choose the desired type of entitlement:
-
Select the User attributes option if the fact that a given user is entitled to the resource stems from certain attribute settings of the user’s account in Active Directory. For example, this is the type of entitlement to an Exchange mailbox or to a home folder.
-
Select the Group membership option if the fact that a given user is entitled to the resource stems from membership of the user in a certain security group.
-
Select the Manager or owner role assignment option if entitlement of a given user to the resource means that the user is designated as the manager (primary owner) or a secondary owner of a certain object.
-
Click Next.
-
Set up the Entitlement rules list.
In this step, you define the criteria that are used to determine whether a given user is entitled to the resource. The entitlement rules take the form of conditions that the entitlement target object must meet in order for the user to be regarded as entitled to the resource, and thus for information about the resource to appear in the entitlement profile of that user.
Active Roles evaluates the entitlement rules against the entitlement target object when building a user’s entitlement profile. Depending on the entitlement type, the entitlement target object is:
-
In case of the User attributes entitlement type, the user account of the user whose entitlement profile is being built. This entitlement type is referred to as personal resource entitlement.
-
In case of the Group membership entitlement type, any single group to which the user belongs, whether directly or because of group nesting. This entitlement type is referred to as shared resource entitlement.
-
You can define entitlement rules based on object properties, such as whether the object has certain attributes set or whether the object is a security group. The conditions take the form of LDAP filter based search criteria. With the Include rule type, the user is regarded as entitled to the resource if the entitlement target object meets the search criteria. With the Exclude rule type, the user is regarded as not entitled to the resource if the entitlement target object meets the search criteria.
-
In addition to filter-based rules, you can configure rules on a per-object basis, so as to include or exclude individual objects from entitlement assignment explicitly. If Active Roles encounters a rule to include the entitlement target object, it considers the user as entitled to the resource. If Active Roles encounters a rule to exclude the entitlement target object, then it considers the user as not entitled to the resource.
-
Active Roles evaluates the entitlement rules in the following order:
-
Explicit exclusion
-
Explicit inclusion
-
Filter-based exclusion
-
Filter-based inclusion
Once the entitlement target object matches a rule of a particular type, the rule types that stand lower in this list are not applied. This means that exclusion rules take precedence over inclusion rules and explicit selection of objects takes precedence over filter-based rules.
Initially, no entitlement rules are configured, which is treated as an inclusion-type condition that evaluates to TRUE for any object. As a result, entitlement to the resource is established regardless of the properties of the entitlement target object. You can add entitlement rules in order to categorize entitlements based on properties of entitlement target objects.
To add an entitlement rule, click Include or Exclude depending on the rule type you want, and then use the Configure Entitlement Rule dialog to specify your search criteria. You can specify search criteria the same way you do when using the Find dialog. Then, do one of the following:
-
To add a rule based on the search criteria you specified, click Add Rule.
-
To select specific objects, click Find Now, select check boxes in the list of search results, and then click Add Selection.
-
Click Next.
-
View or change the icon that is used to distinguish the type of the resource in the entitlement profile:
-
View the icon in the area next to the Change button.
-
To choose a different icon, click Change and then select the desired image file.
-
To revert to the default icon, click Use Default Icon.
-
Type the name of the resource type to be displayed in the entitlement profile.
-
Click Select to choose the attribute of the entitlement target object whose value will be used to name the resource in the entitlement profile.
The resource type icon, display name, and naming attribute are used to identify the resource in the entitlement profile. If the evaluation of the entitlement rules for a given user indicates that the user is entitled to the resource, then information about the resource appears as a separate section in the entitlement profile of that user. The heading of the section includes the resource type icon, the display name of the resource type, and the value of the naming attribute retrieved from the entitlement target object.
-
Click Next.
-
Set up the list of the resource-related attributes that will be displayed in the entitlement profile:
-
Use Add or Remove to add or remove attributes from the list.
-
Click Add Separator to divide the attribute list into sections in the entitlement profile.
-
Use the Up and Down buttons to arrange the attribute list order.
The attributes held in the list will be displayed in the entitlement profile, beneath the heading of the section that provides information about the resource. For each of the listed attributes, the section displays the name and the value of the attribute retrieved from the entitlement target object.
-
Click Next, and then click Finish.
Changing entitlement profile specifiers
You can change an existing entitlement profile specifier by changing the specifier’s name and description, entitlement type and rules, resource display settings, and resource attributes list. The entitlement profile specifier objects are located under Configuration > Server Configuration > Entitlement Profile Specifiers in the Active Roles Console.
The following table summarizes the changes you can make to an existing entitlement profile specifier object, assuming that you have found the object in the Active Roles Console. You can also disable or delete a specifier using the Disable or Delete command on the Action menu. Active Roles disregards the disabled specifiers when building the entitlement profile. A disabled specifier can be re-enabled by using the Enable command that appears on the Action menu for disabled specifiers.
Table 54: Entitlement profile specifier object changes
Name |
Right-click the object and click Rename. |
The name is used to identify the object, and must be unique among the objects held in the same container. |
Description |
Right-click the object, click Properties and make the necessary changes on the General tab. |
The description is intended to help Active Roles administrators identify the purpose and the function of the object. |
Entitlement type |
Right-click the object, click Properties, click the Type tab, and then select the appropriate option. |
The entitlement type specifies how the user is entitled to the resource. You can choose whether the user is entitled to the resource by means of:
-
User attributes: Entitlement to a personal resource such as a mailbox or home folder, controlled by certain attributes of the user account.
-
Group membership: Entitlement to a shared resource such as a web application or a network file share via membership in a security group.
-
Manager or owner role assignment: Entitlement to act as the manager (primary owner) or a secondary owner of a directory object such as a group, distribution list, or computer. |
Entitlement rules |
Right-click the object, click Properties, click the Rules tab, and then add, remove, or modify entitlement rules by using the buttons below the rules list. |
The entitlement rules are used to determine whether a given user is entitled to the resource. The entitlement rules take the form of conditions that the entitlement target object must meet in order for the user to be regarded as entitled to the resource, and thus for information about the resource to appear in the entitlement profile of that user.
To add or change an entitlement rule, click Include or Exclude depending on the rule type you want, or click View/Edit, and then use the Configure Entitlement Rule dialog to specify rule conditions. You can do this the same way you use the Find dialog to configure and run a search. Note that you can change only filter-based rules. If you select an explicit inclusion or exclusion rule the View/Edit button is unavailable. You can use Remove to remove a rule of any type.
For more information, see Step 6 in Creating entitlement profile specifiers. |
Resource display settings |
Right-click the object, click Properties, click the Display tab, and then view or change the icon and display name of the resource type, and the resource naming attribute. |
The resource type icon, display name, and naming attribute are used to identify the resource in the entitlement profile. If the evaluation of the entitlement rules for a given user indicates that the user is entitled to the resource, then information about the resource appears as a separate section in the entitlement profile of that user. The heading of the section includes the resource type icon, the display name of the resource type, and the value of the naming attribute retrieved from the entitlement target object. |
Resource attributes list |
Right-click the object, click Properties, click the Attributes tab, and then add, remove, or change the order of attributes by using the buttons below the attributes list. |
The tab lists the attributes of the entitlement target object that will be displayed in the entitlement profile, beneath the heading of the section that provides information about the resource. For each of the listed attributes, the section displays the name and the value of the attribute retrieved from the entitlement target object. |