Posted: 29 Nov 2017 3:37 EST Last activity: 29 Nov 2017 5:09 EST
How to implement ALLOF and ONEOF relationship
I have requirement to hide few case type (No access) if an user is not skilled enough. I am trying to achieve this with attribute based policy control. Unfortunately, I couldn't compare the column value against multiple values like "case1","case2".
I would like to know if this can be achievable with AllOf / OneOf relationship and alos how to configure access control policy condition with AllOf / OneOf relationship. When trying to use this, I get below error
** Invalid operator for property .pxObjClass: The AllOf and OneOf operators can only be used to compare scalar text values
In addtion to below, we need to add the property we evaluate in Custom search properties
Found the answer:
One Of condition - Requires one of the values in the object's property to match the subject's property.
For example, if a case has an attribute value "Red,Green", then the user with the attribute value "Red" or "Red,Yellow" is granted access. If the user has the attribute value "Purple,Brown", then access is denied. the order of the values is irrelevant.
All Of condition - Requires all values in the object's property to match the subject's property. The subject can have more, but not fewer values.
For example, if a case has an attribute value "Red,Green", then the user with the attribute value "Red,Green" or "Red,Green,Yellow" is granted access. If the user has the attribute value "Red,Blue", the access is denied access.