Configuring conditions
Last updated
Was this helpful?
Last updated
Was this helpful?
Conditions can be used to further specify the policy on an element in Valtimo. When a condition is used in the policy it will match the conditions against the element it is trying to access. If the element matches the conditions it will be loaded, if a condition fails it will not be loaded.
Use case: An implementation has 5 case types. 2 of those 5 case types should only be accessible to managers.
Solution:
Give the managers ROLE_MANAGER
.
Configure with conditions in PBAC that only ROLE_MANAGER
can view these cases based on there Case Definition Name.
Users without ROLE_MANAGER
will no longer be able to view the 2 cases in Valtimo.
Below a number of examples of applying conditions in Access control policies.