Skip to Content.
Sympa Menu

grouper-users - [grouper-users] deleting a rule using GSH

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] deleting a rule using GSH


Chronological Thread 
  • From: Scott Koranda <>
  • To: grouper-users <>
  • Subject: [grouper-users] deleting a rule using GSH
  • Date: Mon, 29 Feb 2016 11:56:26 -0600

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



  • [grouper-users] deleting a rule using GSH, Scott Koranda, 02/29/2016

Archive powered by MHonArc 2.6.16.

Top of Page