Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Copy group looses Loader properties of the group. Bug or feature?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Copy group looses Loader properties of the group. Bug or feature?


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Black, Carey M." <>
  • Cc: grouper-users <>
  • Subject: [grouper-users] RE: Copy group looses Loader properties of the group. Bug or feature?
  • Date: Mon, 18 Sep 2017 20:00:28 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:WnIGURAGK6GmsmrVtEngUyQJP3N1i/DPJgcQr6AfoPdwSPX6pMbcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFQDtgG+CRWwCO711jNEmmH60Ksn2OohCwHG2wkgEsoAvHrWrNT0NbkdUfqtwKLV0zjDb+lW2Tbm6ITGbxsspvSMUq5wccvRyEggCRnFg06RqYz+IzyZzPkNs3CF4OpmU+KjkXAopBxsojW2wMonl4fHhoUQyl/e9CV5xp44Jdy+SE5nf9GkCp1QuD+GN4doWM8tXXxnuDs8x7YbupC7ZDAHxIo6yxPecfCKfZaE7gj+WOuSPTt0nm9pdbGiixqq7EStxPHwWtOw3VpXtCZJjMTAu3QX2xDO6MWKS/1w9Vq71zmVzQDc8ORELFg0laXFL54hxaY9mIIPvErEAiP6hVz6gbKOeEgq4+So7P/obav8qp+bKo90lhrxMqMzmsy5HOs0KBAOX3Kc+eSgyrLs4VH5QLRNjv0wiKXZt43aJdgfpq6+BA9V0Zwv5Aq4DzejyNgYnH8HI0xZeB+fkYTlJlDDLOr2APuhmVigjTRmy+zcMrH8AZjBM2DPkLL7crZ8705cxhAzzdda559MD7EOPPLzW0/wtdPGFB80KA20w/37B9lny4MeQXyAAqmfMK/Ir1CH+/8vL/GWZIAJoDb9N+Ql5/n2gH82g18derSp3YMJZ3CiB/hmPl6ZbmT2gtcaCmoKugs+TPf2iF2ZTzJffXeyX6Qg5j4lEoKmC5nMRpyzjLCbwii0A4BWNSh6DQXGO3PhfIbAE9wFci+Dauon2HRQX7yoQIxnjEv1nAjh1vxqIveCqQMCspe2nvhk9eDJ0VkZ9SZ1FI7Vh2SGT3Bmk3kgRiQ9mr1nrEp7jFqPzP4r0LRjCdVP6qYRAU8BPpnGwrk/UoiqVw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Ok, you want to know whats behind the curtain J  They are implemented as new attributes right now.  But still are treated differently in some circumstance… we are chipping away at it to achieve better consistency… J  but yes, in this case it will be an easy lift (probably J )

 

From: Black, Carey M. [mailto:]
Sent: Monday, September 18, 2017 3:41 PM
To: Hyzer, Chris <>
Cc: grouper-users <>
Subject: RE: Copy group looses Loader properties of the group. Bug or feature?

 

Chris,

 

Hum…..  ( To mis-paraphrase The Bard )

                An attribute by the same name is not an attribute?

 

Maybe an enhancement could be requested to convert all of the “legacy attributes” into the “attribute framework”?  ( So that there is only one “attribute” in the system. )

                Maybe via a tool like the USDU? ( for conversion for systems that have “legacy attributes”)

Or is the long term road map to keep both types of attributes?

 

 

FWIW: REF: https://spaces.internet2.edu/display/Grouper/Custom+Group+Types%2C+Fields%2C+Attributes%2C+Lists

Custom Group Types and Fields have been deprecated. It is recommended to use the Attribute Framework capabilities instead of the Custom Group Types and Fields. As of Grouper 2.2, Custom Group Types and legacy attributes represented as Fields are no longer part of Grouper.  Although, the old APIs continue to work for now; they just call the Attribute Framework.  The upgrade procedure for Grouper 2.2 includes steps on the migration.

….

Fields come in two flavors: attributes and lists(NOTE: As if Grouper 2.2, fields as lists are still valid.  Fields as attributes are not.  Use the Attribute Framework for attributes) 

….

 

My install is a clean install of 2.3. (not upgraded from some previous version)

 

--

Carey Matthew

 

From: Hyzer, Chris []
Sent: Monday, September 18, 2017 12:58 PM
To: Black, Carey M. <>; grouper-users <>
Subject: RE: Copy group looses Loader properties of the group. Bug or feature?

 

Yes, good call, the legacy attributes are used for SQL loader jobs and are copied, the LDAP loader uses new attribute framework and are not copied.

 

I opened a jira:

 

https://bugs.internet2.edu/jira/browse/GRP-1605

 

Thanks

Chris

 

From: Black, Carey M. []
Sent: Monday, September 18, 2017 12:27 PM
To: Hyzer, Chris <>; grouper-users <>
Subject: RE: Copy group looses Loader properties of the group. Bug or feature?

 

Maybe the Loader type matters?   ( I would guess that the attributes involved for the two types of jobs would be different. )

  Your example is SQL_SIMPLE.

  Mine is LDAP_GROUPS_FROM_ATTRIBUTES .

 

The only other idea I have is that you were logged in as “GrouperSysAdmin”. I am not. I am “me” with “Wheel Group”. I can see the attributes and the values in the Lite UI. But the Copy function does not work.

 

--

Carey Matthew

 

From: Hyzer, Chris []
Sent: Monday, September 18, 2017 11:04 AM
To: Black, Carey M. <>; grouper-users <>
Subject: RE: Copy group looses Loader properties of the group. Bug or feature?

 

I took a loader group and copied it with the new UI and all checkboxes checked and it copied the loader config:

 

 

-----Original Message-----
From: [] On Behalf Of Black, Carey M.
Sent: Friday, September 15, 2017 9:09 AM
To: grouper-users <>
Subject: [grouper-users] Copy group looses Loader properties of the group. Bug or feature?

 

Since I am separating my loader jobs I want to take an existing loader job ( on a group ) and clone it into a new group with a bit different, but mostly the same loader job.

 

The Copy group has a feature to:

"

Copy attributes?

If you select this option, all custom attributes will be copied to the new group. If you do not have read access to all attributes in the group, you will get a privilege error.

"

 

When I look at the group where the loader job is configured I see attributes like:

Grouper loader LDAP

Grouper loader LDAP attribute filter _expression_

Grouper loader LDAP group name _expression_

Etc...

 

But after copying the group with the "Copy attributes?" set does not yield a new group with those attributes.

 

Is there some configuration setting, or something else that is wrong in my instance, that is not copying those attributes during the group copy?

 

How is "custom attributes" defined/flagged? ( Do I need to flag those loader attributes in a way to allow them to be copied? Maybe assign an attribute to those attribute assignments? )

 

--

Carey Matthew

 

 




Archive powered by MHonArc 2.6.19.

Top of Page