This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Permission Conflicts and Collision Behavior

Policy users can be assigned to multiple roles with different data element permission settings. In this scenario, the resultant access settings applicable for that user are the least restrictive permissions derived from the data element - parent role association.

Masking Rules for Users in Multiple Roles

If the mask settings, which are applied along with the permission settings, for users in multiple roles result in a conflict, then the resultant output differs.

Consider a scenario, where user U1 with a policy P1, associated with roles R1, R2, and R3 and connected with the data element DE1 containing different masks (Left, Right) and output formats, then the resultant output is applicable as per the following table.

RoleUserData ElementOutput FormatMask SettingsResultant Output
R1U1DE1MASKLeft: 1, Right: 2Left: 1, Right: 2
R1U1DE1MASKLeft: 1, Right: 2Left: 1, Right: 2
R2U1DE1MASKLeft: 1, Right: 2
R1U1DE1MASKLeft: 1, Right: 2There is conflict in the mask settings (Left, Right) and thus, the Unprotect access is revoked with NULL as the output.
R2U1DE1MASKLeft: 0, Right: 5
R1U1DE1MASKLeft: 1, Right: 2 with mask character ‘*’There is conflict in the mask character settings and thus, the Unprotect access is revoked with NULL as the output.
R2U1DE1MASKLeft: 1, Right: 2 with mask character ‘/’
R1U1DE1MASKLeft: 1, Right: 2There is conflict in the mask settings (Left, Right) and thus, the Unprotect access is revoked with NULL as the output.
R2U1DE1MASKLeft: 1, Right: 2
R3U1DE1MASKLeft: 0, Right: 5
R1U1DE1MASKLeft: 1, Right: 1 with masked modeThere is conflict in the mask settings and thus, the Unprotect access is revoked with NULL as the output.
For example:
If the value 12345 is masked with Left: 1, Right: 1 settings in masked mode, then it results in *234*.
If the value 12345 is masked with Left: 1, Right: 1 settings in clear mode, then it results in 1***5.
As the resultant values are conflicting, the Unprotect access is revoked with NULL as the output.
R2U1DE1MASKLeft: 1, Right: 1 with clear mode
R1U1DE1MASKLeft: 1, Right: 2There is conflict in the output formats. The resultant output is most permissive, which is CLEAR.
R2U1DE1CLEAR 
R1U1DE1MASKLeft: 1, Right: 2There is conflict in the output formats due to conflicting MASK settings. However, with the CLEAR setting applicable in the order of access as per the role R3, the resultant output is most permissive. In this case, it is CLEAR.
R2U1DE2MASKLeft: 0, Right: 5
R3U1DE3CLEAR 

A data element-role connection with disabled permission for unprotect operation results in a NULL value, by default, and can be set to other no-access values, such as Exception or Protected value.

The following table explains how no-access values work with different output formats for users in multiple roles.

Sr. No.RoleUserData ElementNo Access OperationOutput FormatMask SettingsResultant Output
1R1U1DE1 MASKLeft: 1, Right: 2There is conflict in the output formats. If one of the roles has access, then the output format is used. The resultant output is most permissive, which is MASK.
R2U1DE1NULL  
2R1U1DE1 MASKLeft: 1, Right: 2
R2U1DE1Protected  
3R1U1DE1 MASKLeft: 1, Right: 2
R2U1DE1Exception  
4R1U1DE1 CLEAR If one of the roles has access, then the output format is used. The resultant output is most permissive, which is CLEAR.
R2U1DE1NULL  
5R1U1DE1 CLEAR 
R2U1DE1Protected  
6R1U1DE1 CLEAR 
R2U1DE1Exception  

No Access Permissions

If the Unprotect access permission is not assigned to a user, then either the NULL value or noaccess permission, such as, Protected or Exception value is returned. The returned value is based on the permission settings for a role or a data element. If a user is assigned to multiple roles with different permission settings for the data element, then the following no-access permission on the protector is applicable.

No Access Permission 1No Access Permission 2Resultant Permission on the Protector
ProtectedNULLProtected
ProtectedEXCEPTIONProtected
ProtectedMaskMask
ProtectedClearClear
NULLEXCEPTIONEXCEPTION
NULLMaskMask
NULLClearClear
EXCEPTIONMaskMask
EXCEPTIONClearClear

1 - Inheriting Permissions for Users in Multiple Policies and Roles

This section describes how a user in multiple policies and roles inherits permissions for a data element.

If a policy user is assigned a role that does not have a specific data element associated with the role, then the user cannot use the data element for performing security operations. If the user tries to use the data element, then an error is generated.

However, consider a policy where you have created a default role that is applicable to all the users. You associate a specific data element with this default role. In this case, the policy user, who is included in another role that is not associated with the specific data element, inherits the permissions for this data element from the default role. This scenario is applicable only if the users are a part of the same policy or a part of multiple policies that are applied to the same data store.

Example:

Policy 1 contains the role R1, which is assigned to the user U1. The role R1 is associated with a data element DE1, which has the permissions Unprotect, Protect, and Reprotect. The user U1 can unprotect, protect, and reprotect the data using the data element DE1.

Policy 2 contains the role R2, which is assigned to the user U2. The role R2 is associated with a data element DE2. which has the permissions Unprotect, Protect, and Reprotect. The user U2 can unprotect, protect, and reprotect the data using the data element DE2.

Policy P3 contains the role R3, which is applicable to all the users. The role R3 role is associated with two data elements DE1 and DE2. Both the data elements have the Unprotect permissions associated with it.

Note: The ALL USERS denotes a default role which is applicable to all the users. To enable the default role, click the Applicable to all the members toggle button on the ESA web UI. For more information about Applicable to all the members, refer to the section Working with Roles.

Use Case 1

The Use Case 1 table demonstrates that roles R1 and R2 have an indirect relationship with data elements DE1 and DE2 that is they are part of different policies but they are deployed to the same data store, they have inherited the permission of the default role for data elements DE1 and DE2.

Table 1. Use Case 1

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1URPU1DE1URP
DE2U
P2R2U2DE2URPU2DE1U
DE2URP
P3R3ALL USERSDE1UALL USERSDE1U
DE2UDE2U

As shown in the table, in the case of old behaviour, no permissions have been inherited from the role R3 that is applicable to the data elements DE1 and DE2 for all the users.

The Unprotect permissions highlighted in bold in the table for the new behavior column indicate the permission, that have been inherited from the role R3, that is applicable to the data elements DE1 and DE2 for all the users.

Use Case 2

The Use Case 2 table demonstrates that if roles R1 and R2 have a direct relationship with data elements DE1 and DE2, then they will not inherit the permissions of the default role. In this case, protector side permissions after deploying the policy are the same as shown in the old behavior and new behaviour columns.

Table 2. Use Case 2

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1URPU1DE1URP
DE2-DE2-
R3ALL USERSDE1UU2DE1-
DE2UDE2URP
P2R2U2DE1-ALL USERSDE1UR
DE2URP
P3R4ALL USERSDE1RDE2UR
DE2R

Use Case 3

The Use Case 3 table demonstrates that if roles R1 and R2 have a direct relationship with data elements DE1 and DE2, then they will not inherit the permissions of the default role. In this case, protector side permissions after deploying the policy are same as shown in the old behavior and new behaviour columns.

Table 3. Use Case 3

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1URPU1DE1URP
DE2-DE2-
R2U2DE1-U2DE1-
DE2URPDE2URP
R3ALL USERSDE1UALL USERSDE1UR
DE2U
R4ALL USERSDE1RDE2UR
DE2R

Use Case 4

The Use Case 4 table demonstrates that as role R2 has an indirect relationship with data element DE1, it has inherited the permissions of the default role. The role R1 has a direct relationship with data element DE1, and it have not inherited the permissions of the default role.

Table 4. Use Case 4

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1-U1DE1-
DE2-
R3ALL USERSDE1UU2DE1U
DE2URP
P2R2U2DE2URPALL USERSDE1U
DE2-

As shown in the table, in the case of old behaviour, no permissions have been inherited from the role R3 that is applicable to the data element DE1 for all the users.

The Unprotect permission highlighted in bold in the table for the new behavior column indicate the permissions that has been inherited from the role R3, that is applicable to the data element DE1 for all the users.

Use Case 5

The Use Case 5 table demonstrates that Role R1 has inherited the permissions of the default role for the data element DE2.

Table 5. Use Case 5

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1URPU1DE1URP
DE2UP
P2R3ALL USERSDE2UALL USERSDE1-
P3R4ALL USERSDE2PDE2UP

As shown in the table, in the case of old behaviour, no permissions have been inherited from the roles R3 and R4 that is applicable to the data element DE2 for all the users.

The resultant permissions highlighted in bold in the table for the new behavior column indicate the permissions that have been inherited from the roles R3 and R4, that is applicable to the data element DE2 for all the users.

Use Case 6

The Use Case 6 table demonstrates that role R1 will inherit the permissions of the default role for the data element DE2.

Table 6. Use Case 6

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1UU1DE1UP
DE2URP
P2R5U1DE1PALL USERSDE1-
P3R3ALL USERSDE2URPDE2URP

As shown in the table, in the case of old behaviour, no permissions have been inherited from the role R3 that is applicable to the data element DE2 for all the users.

The resultant permissions highlighted in bold in the table for new behavior column indicate the permissions that have been inherited from the role R3 that is applicable to the data element DE2 for all the users.

Use Case 7

The Use Case 7 table demonstrates that if role R1 is related to data element DE1 in policy P1 and and role R3 is related to data element DE1 in policy P3, then roles R1 and R3 will not inherit the permissions of the default role. In this case, protector side permissions after deploying the policy are same as shown in the old behavior and new behaviour columns.

Table 7. Use Case 7

Policy structure in the ESAProtector side permissions after deploying the policy
P1R1U1DE1UU1DE1U
DE2-
P2R1U1DE2-ALL USERSDE1URP
P3R3ALL USERSDE1URPDE2-