Support Article

Unable to restrict access to Delegated rules

SA-36273

Summary



When attempting the delegate a Dynamic System Setting(DSS) rule to an access group, the delegated DSS value is not visible after clicking "My rules" from the targeted portal.

Error Messages



In tracer an error is observed: “pzGetDelegationDetails” activity is failing at step 2 – Obj-Open. Please find the stack trace from log below:

--------------------------------------------------

2017-03-16 08:17:45,491 [ WebContainer : 134] [TABTHREAD0] [ ] [ Ruleset:Version] (ationDetails._baseclass.Action) ERROR 127.0.0.1 UserName- Error in Obj-Open
com.pega.pegarules.pub.database.BadClassDefinitionException: Attempting to access a rule with a bad defined-on class: VCR.
From: (H06E0C6B8F3C4BF9312866D0155D7D6CB:)
at com.pega.pegarules.data.internal.access.RuleResolver.lookupFirstLevelCandidates(RuleResolver.java:2304)
at com.pega.pegarules.data.internal.access.RuleResolver.getFirstLevelCandidates(RuleResolver.java:1913)
at com.pega.pegarules.data.internal.access.RuleResolver.getFirstLevelCandidates(RuleResolver.java:1817)
at com.pega.pegarules.data.internal.access.RuleResolver.resolveRuleToCandidate(RuleResolver.java:769)
at com.pega.pegarules.data.internal.access.RuleResolver.resolveRuleToCandidate(RuleResolver.java:737)
at com.pega.pegarules.data.internal.access.RuleResolver.resolveRule(RuleResolver.java:691)
at com.pega.pegarules.data.internal.access.DatabaseImpl.open(DatabaseImpl.java:4013)
at com.pega.pegarules.data.internal.access.DatabaseImpl.open(DatabaseImpl.java:3737)
at com.pega.pegarules.pub.runtime.AbstractActivity.objOpen(AbstractActivity.java:80)
at com.pegarules.generated.activity.ra_action_pzgetdelegationdetails_d1c5646b4e96e9917e97b8df45780e53.step2_circum0(ra_action_pzgetdelegationdetails_d1c5646b4e96e9917e97b8df45780e53.java:288)
at com.pegarules.generated.activity.ra_action_pzgetdelegationdetails_d1c5646b4e96e9917e97b8df45780e53.perform(ra_action_pzgetdelegationdetails_d1c5646b4e96e9917e97b8df45780e53.java:89)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
at com.pegarules.generated.activity.ra_action_wbopen_636ddc8d3c8d3933fb470ef82428b1d6.step13_circum0(ra_action_wbopen_636ddc8d3c8d3933fb47


Steps to Reproduce

  1. Delegate one DSS to the access group.
  2. Create one new Access role and Add "UpdateLimitedForm" privilege in @baseclass and set level as 5.
  3. Check for the DSS from your portal. One can see the rule is not visible but action buttons are present.


Root Cause



This is determined to be a product enhancement request.

Resolution



An enhancement request, FDBK-18692, has been created for consideration by Pega Product Management.

Published April 10, 2017 - Updated May 26, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.