Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
Description
----Original Message----
From: grouper-users-request On Behalf Of Scott Koranda
Sent: Monday, February 29, 2016 12:56 PM
To: grouper-users
Subject: [grouper-users] deleting a rule using GSH
Hi,
While debugging an issue with a rule on a stem I believe we
created multiple instances of the same rule. For example:
gsh 2% RuleApi.rulesToString(testFolder01)
Rule 0: attributeAssignTypeId: 76e5374288114134bb9df396ae9b9ada, actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkStemScope: SUB, checkType: groupCreate, thenEnum: assignGroupPrivilegeToGroupId, thenEnumArg0: jdbc :::: subject1, thenEnumArg1: read,
Rule 1: attributeAssignTypeId: 944cd69989d14d41881c39362c79f78a, actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkStemScope: SUB, checkType: groupCreate, thenEnum: assignGroupPrivilegeToGroupId, thenEnumArg0: jdbc :::: subject1, thenEnumArg1: read,
Rule 2:
gsh 3%
I think that says that the exact same rule is assigned twice to that
stem, correct?
If that is correct, what GSH command(s) can I use to delete 'Rule 1'?
Thanks,
Scott K