grouper-users - Re: [grouper-users] Re: Unique group names across folders
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Jared Hoffman <>, "Hyzer, Chris" <>
- Cc: Gouper Users <>
- Subject: Re: [grouper-users] Re: Unique group names across folders
- Date: Mon, 25 Jul 2016 23:37:37 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
This is fixed in a patch now.
grouper_v2_3_0_api_patch_18
https://bugs.internet2.edu/jira/browse/GRP-1352
Thanks!
- Shilen
On 7/25/16, 1:15 PM, "Jared Hoffman"
<>
wrote:
>Chris,
>
>The GroupUniqueExtensionHook is working well for preventing duplicate
>groups. Ritefully it doesn't prevent duplicate folder names, at least
>for me.
>
>The one problem with it though is that it prevents moving a group to
>an new folder. I assume that is because it does a copy/delete. I'm
>working around it by disabling the hook and restarting grouper, but I
>thought I'd mention this in case there's a better way.
>
>
>Thanks,
>
>Jared
>
>On Sat, May 21, 2016 at 9:02 AM, Hyzer, Chris
><>
>wrote:
>> This one can do that, though it seems like as new subjects are added you
>> might get conflicts down the road. You mean group extension right?
>>
>>
>>
>> Thanks
>>
>> Chris
>>
>>
>>
>>
>>
>> * <pre>
>>
>> * built in hook to grouper, which is turned on when it is configured in
>>the
>> grouper.properties.
>>
>> *
>>
>> * extensions in groups will be unique, and optionally you can resolve
>>any
>> subject to make
>>
>> * sure the extension is not a netid or whatever
>>
>> *
>>
>> * set that with grouper.properties:
>>
>> *
>>
>> * hooks.group.class =
>> edu.internet2.middleware.grouper.hooks.examples.GroupUniqueExtensionHook
>>
>> *
>>
>> * groupUniqueExtensionHook.resolveSubjectByIdOrIdentifier = true
>>
>> *
>>
>> * </pre>
>>
>>
>>
>> From:
>>
>> [mailto:]
>> On Behalf Of Jared Hoffman
>> Sent: Friday, May 20, 2016 7:07 PM
>> To: Shilen Patel
>> <>
>> Cc: Gouper Users
>> <>
>> Subject: [grouper-users] Re: Unique group names across folders
>>
>>
>>
>> Related question.
>>
>>
>>
>> Is there a hook or other setting to prevent someone from making a group
>>name
>> that matches a subject user name?
>>
>>
>>
>> On Friday, May 20, 2016, Shilen Patel
>> <>
>> wrote:
>>
>> Awesome!
>>
>>
>>
>>>> I had tried the link below and it didn't work. I wonder if this is
>>>> related to PSP only.
>>
>>>>
>>>>
>>>>https://urldefense.proofpoint.com/v2/url?u=https-3A__spaces.internet2.e
>>>>du_display_Grouper_Unique-2Bobject-2Bnames-2Bin-2BGrouper&d=CwIFaQ&c=im
>>>>BPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=sWqutME58phurE0oO57Icg&m=J2
>>>>YWTfkrcZEzdLl3kz1rPU70wUUNOhd4KU_S3wCPfic&s=6ZwkE9sM9XPz9EpAOsw8zgabty_
>>>>k8fY6jJDlD6uWBJA&e=
>>
>>
>>
>> I believe this checks against the full name. e.g. If you have a group
>>named
>> etc:test, then you can't have a folder named etc:test.
>>
>>
>>
>> Thanks!
>>
>>
>>
>> - Shilen
>>
>>
>>
>> From: Jared Hoffman
>> <>
>> Date: Friday, May 20, 2016 at 1:52 PM
>> To: Shilen Patel
>> <>
>> Cc: Gouper Users
>> <>
>> Subject: Re: [grouper-users] Unique group names across folders
>>
>>
>>
>> Thanks! That is working. I wasn't sure which grouper.properties to put
>>it in
>> so I added to all 3 in the grouper directory thinking that should work
>>for
>> api, ui and ws.
>>
>>
>>
>> grouper.ui-2.3.0\dist\grouper\WEB-INF\classes
>>
>> grouper.ws-2.3.0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes
>>
>> grouper.apiBinary-2.3.0\conf
>>
>>
>>
>>
>>
>> I also noticed that it is case insensitive. Test1 can't be created when
>> test1 exists. That is exactly what I need, thanks!
>>
>>
>>
>>
>>
>>
>>
>> I had tried the link below and it didn't work. I wonder if this is
>>related
>> to PSP only.
>>
>>
>>https://urldefense.proofpoint.com/v2/url?u=https-3A__spaces.internet2.edu
>>_display_Grouper_Unique-2Bobject-2Bnames-2Bin-2BGrouper&d=CwIFaQ&c=imBPVz
>>F25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=sWqutME58phurE0oO57Icg&m=J2YWTfkr
>>cZEzdLl3kz1rPU70wUUNOhd4KU_S3wCPfic&s=6ZwkE9sM9XPz9EpAOsw8zgabty_k8fY6jJD
>>lD6uWBJA&e=
>>
>>
>>
>>
>>
>>
>> Jared
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Fri, May 20, 2016 at 8:44 AM, Shilen Patel
>> <>
>> wrote:
>>
>> There's a built in hook for that. In grouper.properties, set:
>>
>>
>>
>> hooks.group.class =
>> edu.internet2.middleware.grouper.hooks.examples.GroupUniqueExtensionHook
>>
>>
>>
>> Is that what you're looking for?
>>
>>
>>
>> Thanks!
>>
>>
>>
>> - Shilen
>>
>>
>>
>> From: Jared Hoffman
>> <>
>> Date: Thursday, May 19, 2016 at 5:51 PM
>> To: Gouper Users
>> <>
>> Subject: [grouper-users] Unique group names across folders
>>
>>
>>
>> Can grouper be set to ensure uniqueness across all group names, not just
>> ones in the same folder?
>>
>>
>>
>> I searched the forum archives and I found mentions of it in older
>>versions
>> but they seemed to focus on psp provisioning not uniqueness in grouper.
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>> Jared
>>
>>
>>
>>
>>
>> --
>>
>> Jared Hoffman € Associate Director for Enterprise Infrastructure
>>
>> Kenyon College LBIS €
>>
>> € 740.427.5948
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Jared Hoffman € Associate Director for Enterprise Infrastructure
>>
>> Kenyon College LBIS €
>>
>> € 740.427.5948
>>
>>
>>
>>
>>
>> --
>>
>> Jared Hoffman € Associate Director for Enterprise Infrastructure
>>
>> Kenyon College LBIS €
>>
>> € 740.427.5948
>>
>>
>>
>>
>
>
>
>--
>Jared Hoffman € Associate Director for Enterprise Infrastructure
>Kenyon College LBIS €
>
> € 740.427.5948
- Re: [grouper-users] Re: Unique group names across folders, Jared Hoffman, 07/25/2016
- Re: [grouper-users] Re: Unique group names across folders, Shilen Patel, 07/25/2016
- Re: [grouper-users] Re: Unique group names across folders, Jared Hoffman, 07/28/2016
- Re: [grouper-users] Re: Unique group names across folders, Shilen Patel, 07/28/2016
- Re: [grouper-users] Re: Unique group names across folders, Jared Hoffman, 07/28/2016
- Re: [grouper-users] Re: Unique group names across folders, Shilen Patel, 07/28/2016
- Re: [grouper-users] Re: Unique group names across folders, Jared Hoffman, 07/28/2016
- Re: [grouper-users] Re: Unique group names across folders, Shilen Patel, 07/25/2016
Archive powered by MHonArc 2.6.19.