Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Large scale template use

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Large scale template use


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: Richard Frovarp <>, " Mailing List" <>
  • Subject: RE: [grouper-users] Large scale template use
  • Date: Tue, 23 Apr 2019 20:03:36 +0000

Richard,

Your very welcome.


If it matters, as an example, I have a hook that responds to a folder
creation that does a lot of automation for my users.
Creates 3 child folders
Creates 17 groups
(converts 6 into complement composites )
Sets inherited permissions on the folders (parent and a child folder)
Sets access controls on some of the 17 groups to be controlled by some of the
17 groups that were created. 😊
And added some "default members" to some of the 17 groups too.

All from one WebService "CreateStem" call.

And they love it. 😊

It basically automates "creating a new thing" in a way that is ready to
partially, or fully delegate control of the thing they just created.
Yes, they still need to do that delegation, but they now have the groups to
"add the right people into" and the grouper permissions are all defaulted to
their specs.

So you can do a lot of things with hooks. (And they work the same in the UI
as the WS and the API/GSH . )

--
Carey Matthew

-----Original Message-----
From:
<> On Behalf Of Richard Frovarp
Sent: Tuesday, April 23, 2019 12:24 PM
To: Mailing List <>
Subject: Re: [grouper-users] Large scale template use

Carey,

Thanks, that helps out quite a bit. We were further discussing after I
sent the message and realized that using Selenium with the template
wizard wouldn't help us going forward with new apps. We had considered
using WS. Most of what we need created would be by external systems,
rather than by people. But in case we do have to hand create something
to fix or change something we've screwed up prior, using the hooks looks
to be quite nice. We can have our external system do the WS call to get
the hook to fire. Given our deployment methods, updating hooks would
also be cleaner that updating a large batch of WS calls in other systems.

Thanks,
Richard

On 4/22/19 5:36 PM, Black, Carey M. wrote:
> Richard,
>
> If you are targeting a "big bang cutover" then I think you likely just need
> to walk your "applications" and "create structures in Grouper" with
> WebServices (WS) calls. And copy the memberships too.
> The WebServices calls can do anything a user can do with the UI. (
> Well, basic functions are all there. AKA : Create/update/delete: group,
> folder, etc...)
>
> I don't expect that a wizard could/would be triggered by a WS call.
> But I could be wrong.
>
>
> NOTE: If you are referring to
> https://spaces.at.internet2.edu/display/Grouper/Grouper+new+template+wizard
> ( by "application template" ) then you could develop such a template for
> user's to manually create new applications after conversion.
> Or you could write UI hooks (REF:
> https://spaces.at.internet2.edu/display/Grouper/Hooks ) too.
> Example: A new folder is created "here" (or named "foo-*",
> etc...) and you create sub structures, establish access controls, etc.. for
> the user.
>
> Your choice between a "wizard" and "hooks" likely depends on your
> taste/style/functionality needs.
> IHMO:
> A wizard would be for a "Ask a human questions and get
> variable outputs/responses."
> A Hook would be more for a "see 'X', then do 'Y'" kind of
> responses. (NOTE: hooks can be triggered by UI, Web Services and/or GSH[AKA
> API] events.
>
> HTH.
>



Archive powered by MHonArc 2.6.19.

Top of Page