Posted: 29 Jun 2016 6:32 EDT Last activity: 30 Jun 2016 9:43 EDT
How to restrict Harness, Section to a particular user
Q: How to restrict Harness, Section to a particular user?
A: I know that we can restrict a section if it is referenced in a flow-action where we can specify a "Privilege". This privilege rule can be referred in the ARO present in AccessRoleName present in AccessGroup of the Operator-ID. But, how can we restrict a Harness? Thanks in advance.
From you question, What I'm trying to understand is you want to restrict a harness, which means you want some people to be able to see a harness and some not. In simple terms, Harness is just a group of sections or UI Components. You cannot restrict anything at harness level. Other rules should be used to determine which harness will be used for which roles.
Posted: 5 years ago
Posted: 30 Jun 2016 9:43 EDT
Tim Martel (MARTT)
Senior Director, Product Engineering, DX Innovation Lab
For sections use a visible when on the section include that checks for availability of a privilege. Several functions are provided to test for privilege th when rule can use. An example is @(Pega-RULES:Default).isOperatorGrantedPrivilege().