Evaluating access control policies

In this section, we are presented with a scenario and guided through an example of how to evaluate groupable standard and groupable template access control policies. Each section begins with a description of related policies, and scenarios using each policy.

For more information about groupable standard and groupable template policies, see Types of access control policies.

The following diagram graphically displays the scenario:

Organizational hierarchy

From the diagram, we can see the following organizations are in the site:

The solid lines in the diagram indicate ownership, the dotted lines indicated subscriptions. As we can see, Root organization is the parent of Seller organization, and Default organization. Seller Organization is the parent of Division A Organization Unit.


Users

In the diagram, Don and Emily are registered to the Seller Organization. Abe, Billy and Carol are registered to Division A Organization Unit. Guest user 1 has not registered, but for access control purposes, implicitly belongs to the Default Organization.


Roles

Don has the approver role for the Seller Organization. Abe has the approver role for the Division A Organization Unit.


Access Groups

The following access groups are used in this scenario:


Documents

The document object is a protected resource. The owner of a document is defined to be the organization where it was created.


Access control requirements related to updating documents

The following are the access control requirements for updating documents:

  1. Registered users can update a document of which they are the creator.

  2. Approvers for Division A can update documents owned by Division A, but not documents owned by Seller. Approvers for Seller organization can update documents owned by both Division A, and Seller organization.


Evaluating groupable standard policies

This section guides you through the groupable standard policies and the scenarios to evaluate them.


Access control policies related to updating documents

The following is the policy format and the access control policies that relate to updating documents:

Policy Format: [Access Group, Action Group, Resource Group, Relationship]


Scenarios


Scenario 1 : Billy attempts to update his own document

The following is the access control evaluation for this scenario:

Since Billy passed both the command-level and resource-level access control checks, he can update his own document.


Scenario 2: Don attempts to update Carol's document

The following is the access control evaluation for this scenario:

Since Don passed both the command-level and resource-level access control checks, he can update Carol's document.


Scenario 3: Abe attempts to update Emily's document

The following is the access control evaluation for this scenario:

Although Abe passed the command-level check, since he failed the resource-level access control check, he cannot update Emily's document.


Scenario 4: Guest user 1 attempts to update his own document

The following is the access control evaluation for this scenario:

Since Guest user 1 failed the command-level check, he cannot update his own document.


Evaluating groupable template policies

This section is based on the configuration shown in the following diagram.


Access control policies related to updating documents

In this configuration, access control policies 1 and 2 still apply, however, groupable standard policies 3 and 4 are now replaced by groupable template policy 5. For more information about policies 1 and 2 see, Evaluating groupable standard policies.


Policy 5

This policy is a groupable template resource-level policy. It is part of the Root Organization policy group to which Root Organization is subscribing. Groupable template policies dynamically apply to the organization that owns the resource during run time. These policies typically use parameterized access groups. In this case, the following parameterized access group is used:


Scenarios

The following scenarios are based on the configuration shown in the previous diagram which has only one policy group. Root Organization policy group includes policies 1, 2, and 5.


Scenario 1: Don attempts to update Carol's document

The following is the access control evaluation for this scenario:

Since Don passed both the command-level and resource-level access control checks, he can update Carol's document.


Scenario 2: Abe attempts to update Emily's document

The following is the access control evaluation for this scenario:

Although Abe passed the command-level check, since he failed the resource-level access control check, he cannot update Emily's document.


Related concepts
Authorization


Related tasks
Customizing default access control policies
Defining access control policy elements using XML
Implementing access control


Related reference
Examples: Customize access control policies using the Organization Administration Console