Manage automatic entitlements

This document describes how to create, test, enable, disable, and delete rules that automatically assign rights when creating secure objects.

1. Principle

An automatic rule of law combines four pieces of information:

Information Role
Item Type The family of objects on which the rule will be applied.
Permission Action to allow or deny.
Effect Autoriser or Refuser.
Recipient Expression DistinguishedName fixed or calculated from variables.

An active rule is used when creating an object by the pathways connected to the auto-entitlement pipeline. The auditing tool uses the same rules to determine the expected permissions on existing objects.

2. Open automatic rights management

  1. Open /Security/Configuration with the Cerebrate account.
  2. Identify the type concerned.
  3. Click on Automatic fees.

The window contains:

  • the tester of the beneficiary variables;
  • the list of existing rules;
  • The form for creating a rule.
Automatic rights management window

:::

3. Choose the effect

The effect determines the mask inscribed in the right produced:

Effect Mask used
Autoriser The Flag permission is added to AuthorizedFlags.
Refuser The DeniedFlag is added to DeniedFlags. If the permission does not define one, its Flag is used.

Example with Modify Map, whose Flag is worth 5 and the DeniedFlag is worth 4 :

  • a rule Allow Product AuthorizedFlags = 5 ;
  • a rule Refuse Product DeniedFlags = 4.

The refusal is therefore produced only if the effect Refuse has been chosen. When calculating access, an applicable denial takes precedence over permissions.

4. Build the Beneficiary

The expression must produce a DistinguishedName valid. It can be fixed or contain the following variables:

Variable Value Used
{CurrentUserDistinguishedName} The distinguishedName of the user that causes the model to be applied; in the tester, the logged-in user.
{SubDomainName} The short name of the security subdomain of the current organization.
{SubDomainDistinguishedName} DistinguishedName is the full name of the subdomain of the current organization.

Example:

RN=Users, OU=Groups, {SubDomainDistinguishedName}

For an organization whose subdomain is OU=Paris, DC=example, DC=local, the result becomes, for example:

RN=Users, OU=Groups, OU=Paris, DC=example, DC=local

Variable names are recognized regardless of case. Any unknown variables are rejected during registration.

5. Testing an expression

The tester uses the logged-in user and the current organization controlled by the server. It displays:

  • the organization actually used;
  • the value of the three available variables;
  • The calculated DistinguishedName;
  • A green status if the beneficiary exists.
  • A warning if the DN is valid but does not match any security object.
  • an error if the DN or a variable is invalid.

Entering into the tester does not change any rules.

Successful test of a beneficiary expressionWarning when the calculated beneficiary does not exist

6. Create a rule

The type must be active and have at least one permission.

  1. Select permission.
  2. Choose the effect Allow or Refuse.
  3. Enter the recipient's expression.
  4. Check the DN calculated under the field.
  5. Click on Add the rule.

The new rule is active as soon as it is created.

The server refuses:

  • a permission belonging to another type;
  • an unknown effect;
  • An empty expression or greater than 2,048 characters.
  • An invalid DistinguishedName.
  • An unsupported variable.
  • A duplicate with the same type, permission, effect, and expression.
Creating an automatic rule of law

7. Read the list of rules

Each row displays:

Column Meaning
Status Active or inactive rule.
Effect Authorization or refusal produced by the rule.
Permission Permission of which the mask will be used.
Beneficiary Saved expression and DN calculated in the current organization.
Actions Activation, deactivation or deletion.

The number displayed in the main list of /Security/Configuration Counts all saved rules, including inactive rules.

8. Disable or delete a rule

Disable Keeps the rule as a base but excludes it from the model loaded into memory. It can be reactivated later.

Delete definitively withdraws the rule after confirmation.

In both cases, the Right Already produced on existing objects are not automatically removed. The change relates to future applications of the configuration and the expected outcome of the audit.

9. Apply the rules to existing objects

Creating or modifying a rule does not immediately rewrite all objects that are already present.

To check the existing system:

  1. Open /Security/Tools ;
  2. Access automatic rights auditing.
  3. filter by type and, if necessary, by organization;
  4. Review the states Sold out, Incomplete or Incorrect configuration ;
  5. Use Regularize on incomplete objects.

Regularization adds the expected automatic rights. It should not be interpreted as a general cleanup of the additional rights already present.

Automatic Entitlement Audit and Accrual

10. Full Example

Goal: To give users in the organization the right to view newly created maps.

Parameter Example value
Type Map
Permission See Map
Effect Autoriser
Beneficiary RN=Users, OU=Groups, {SubDomainDistinguishedName}

When applying the rule:

  1. The server resolves the subdomain of the map organization.
  2. it constructs the DistinguishedName of the group Users ;
  3. he finds this group in the field of security;
  4. it creates or supplements the Right of the group on the map;
  5. he adds the Flag of See Map à AuthorizedFlags.

If the beneficiary does not exist, no entitlement can be produced and the audit reports a configuration problem.

11. Rules to remember

  • An active rule produces rights; it is not itself a right.
  • Allow uses the Flag of permission.
  • Refuse uses its DeniedFlag, or its Flag failing that.
  • The tester uses the current organization without changing the configuration.
  • A beneficiary must resolve to an existing security object to produce a right.
  • A new rule is not retroactive to all existing objects.
  • The audit and regularization are used to deal with the existing situation.
  • Disabling or deleting a rule does not automatically remove the rights that have already been produced.