grouper-users - Re: [grouper-users] Problem with Composite-org intersection
Subject: Grouper Users - Open Discussion List
List archive
- From: "Crawford, Jeffrey" <>
- To: Grouper Users <>
- Subject: Re: [grouper-users] Problem with Composite-org intersection
- Date: Tue, 16 Apr 2019 15:21:45 +0000
Bump 😊
From: <> on behalf of "Crawford, Jeffrey" <>
Just as a follow up. I can’t seem to get “RuleApi.groupIntersection” to work either, however the corresponding veto rules seems to work just fine!
Jeffrey C.
From: <> on behalf of "Crawford, Jeffrey" <>
Hello,
I’m sure I’ve gotten this to work before, but now I seem to be having some issues Here is the result of my last test: addStem("training:app:auto2:etc", "eligibility", "eligibility"); addGroup("training:app:auto2:etc:eligibility", "population", "population"); eligibility = StemFinder.findByName(grouperSession, "training:app:auto2:etc:eligibility"); subjectActAs = SubjectFinder.findByIdAndSource("GrouperSystem", "g:isa", true); addGroup("training:app:auto2:org:level1:roles", "role1", "Role 1"); group = GroupFinder.findByName(grouperSession, "training:app:auto2:org:level1:roles:role1"); group.setDescription("First Role"); group.store(); RuleApi.groupIntersectionWithFolder(subjectActAs, group, eligibility, Stem.Scope.SUB);
Then I execute the following: groovy:000> addMember("training:app:auto2:etc:eligibility:population", "urn:mace:ucla.edu:ppid:person:EC1C794C8A424A18A34A5E73F78A2DDF"); ===> true groovy:000> addMember("training:app:auto2:org:level1:roles:role1", "urn:mace:ucla.edu:ppid:person:EC1C794C8A424A18A34A5E73F78A2DDF"); ===> true groovy:000> delMember("training:app:auto2:etc:eligibility:population", "urn:mace:ucla.edu:ppid:person:EC1C794C8A424A18A34A5E73F78A2DDF"); ===> true groovy:000> hasMember("training:app:auto2:org:level1:roles:role1", "urn:mace:ucla.edu:ppid:person:EC1C794C8A424A18A34A5E73F78A2DDF"); ===> true
That last one should be false right? The following is my install: Grouper starting up: version: 2.4.0, build date: null, env: <no label configured> grouperPatchStatus read from: /opt/grpr/grouper.apiBinary/grouperPatchStatus.properties api patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 pspng patches installed: 0, 1, 2
Is this a bug or did I do something wrong?
Thanks Jeffrey C.
|
- [grouper-users] Problem with Composite-org intersection, Crawford, Jeffrey, 04/13/2019
- <Possible follow-up(s)>
- Re: [grouper-users] Problem with Composite-org intersection, Crawford, Jeffrey, 04/15/2019
- Re: [grouper-users] Problem with Composite-org intersection, Crawford, Jeffrey, 04/16/2019
- Re: [grouper-users] Problem with Composite-org intersection, Crawford, Jeffrey, 04/16/2019
- Re: [grouper-users] Problem with Composite-org intersection, Crawford, Jeffrey, 04/16/2019
Archive powered by MHonArc 2.6.19.