Question
Princeton Blue
Princeton Blue
US
Princeton Blue
Posted: Feb 4, 2016
Last activity: Jul 25, 2016
Last activity: 25 Jul 2016 10:55 EDT
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
H All,
I would like to know if there is any mechanism by which I can add privileges to a role dynamically( just as we do dynamic addition of roles)
Thanks
Check if the OOTB activity pzValidateAndAddRARO helps. This is called when you add AcessToRuleObject from UI.
Hi Kevin,
I tried the approach you suggested,but approach would take the persisting the ARO Object with the Privileges at runtime.
I was expecting privileges to be added at runtime but no persisted with the object.
a similar use case: Dynamically Create Skill Rules - Pega 7.1.8 be of help?
1. In my opinion, please review your requirement, why would you want to change the privilege dynmically? Are there run time data/events which trigger this change?
2. In this case you can add the privilege to the role but also add a Access When rule (or Access Deny) which takes into consideration runtime data to evaluate if true or false thereby enabling or disabling the privilege for that role.
Question
Discussion
Question
Question Solved
Question
Question Solved
Question Solved
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.