Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Re: Unique group names across folders

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Re: Unique group names across folders


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Jared Hoffman <>, Shilen Patel <>
  • Cc: Gouper Users <>
  • Subject: RE: [grouper-users] Re: Unique group names across folders
  • Date: Sat, 21 May 2016 13:02:39 +0000
  • Accept-language: en-US
  • Authentication-results: kenyon.edu; dkim=none (message not signed) header.d=none;kenyon.edu; dmarc=none action=none header.from=isc.upenn.edu;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

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.

 

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.

 

 


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

 

 



 

--

Jared Hoffman  Associate Director for Enterprise Infrastructure

 



--

Jared Hoffman  Associate Director for Enterprise Infrastructure

Kenyon College LBIS    740.427.5948

 

 




Archive powered by MHonArc 2.6.16.

Top of Page