grouper-users - RE: [grouper-users] putting attributes on a 'member'
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Scott Koranda <>, "''" <>
- Subject: RE: [grouper-users] putting attributes on a 'member'
- Date: Wed, 27 Oct 2010 20:55:16 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Currently you need to be wheel or grouperSystem... maybe we need to revisit
that too...
Scott, if you are at the member meeting next week maybe we can discuss
informally there.
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Scott Koranda
Sent: Wednesday, October 27, 2010 7:37 PM
To:
''
Subject: Re: [grouper-users] putting attributes on a 'member'
> Hi,
>
> I used gsh to put an attribute value onto a 'member' like
> this:
>
> s =
> SubjectFinder.findById("")
>
> m = MemberFinder.findBySubject(grouperSession, s, false)
> m.getAttributeValueDelegate().assignValue("Communities:LVC:authorNameFirstInitial",
> "S")
>
> It worked. Great.
>
> But it also reminded me to ask this naive question: what is
> the distinction between a subject and a member?
>
> Is it only that a member is a subject with a membership in at
> least one group known to Grouper, while a subject can "live"
> outside of Grouper without being a member of any group?
>
Also, what privileges are needed in order for a subject/member
to assign a value to an attribute for that member?
I did this:
authorFirstInitialAttrDef.getPrivilegeDelegate().grantPriv(s,AttributeDefPrivilege.ATTR_OPTIN,
false)
but when I then try to assign a value for that attribute
(using Grouper WS) I get
edu.internet2.middleware.grouper.exception.InsufficientPrivilegeException:
Subject Subject id:
,
sourceId: ligo is
not wheel or GrouperSystem\n\tat
edu.internet2.middleware.grouper.attr.assign.AttributeAssignMemberDelegate.assertCanUpdateAttributeDefName...
In plain english, I want a user to be able to set some
attributes on himself or herself.
Thanks,
Scott
- [grouper-users] putting attributes on a 'member', Scott Koranda, 10/27/2010
- Re: [grouper-users] putting attributes on a 'member', Scott Koranda, 10/27/2010
- RE: [grouper-users] putting attributes on a 'member', Chris Hyzer, 10/27/2010
- RE: [grouper-users] putting attributes on a 'member', Chris Hyzer, 10/27/2010
- Re: [grouper-users] putting attributes on a 'member', Scott Koranda, 10/27/2010
Archive powered by MHonArc 2.6.16.