Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] UI displaying group members as empty checkboxes

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] UI displaying group members as empty checkboxes


Chronological Thread 
  • From: Earl Lewis <>
  • To: Chris Hyzer <>, "<>" <>
  • Subject: Re: [grouper-users] UI displaying group members as empty checkboxes
  • Date: Fri, 24 May 2013 17:55:54 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport07.merit.edu; dkim=neutral (message not signed) header.i=none

Ugh. Our messages just crossed on the wire. Thanks!

Earl
801-581-3635 (office)
801-554-3596 (mobile)

On 5/24/13 11:46 AM, "Chris Hyzer" <> wrote:

Um…  yes?    J

 

This is the doc that you are referring to I believe:

 

https://spaces.internet2.edu/display/Grouper/Member+search+and+sort+columns

 

Once you setup how things should work, at the bottom of the page it states how to regenerate (with USDU I believe)

 

Thanks,

Chris

 

From: Earl Lewis []
Sent: Friday, May 24, 2013 12:58 PM
To: Chris Hyzer; <>
Subject: Re: [grouper-users] UI displaying group members as empty checkboxes

 

Chris,

 

I'm assuming your comments are similarly applicable to the situation I've been discussing here?

 

Earl

801-581-3635 (office)

801-554-3596 (mobile)

 

On 5/24/13 10:46 AM, "Chris Hyzer" <> wrote:

 

I always do it with sql… I think there might be something there, it just needs to be found and documented, or created if not there.  Will do at some point.  J

 

Something like this might work from GSH:

 

      RegistrySubject registrySubject = new RegistrySubject();

      registrySubject.setId(id);

      registrySubject.setName(name);

      registrySubject.setTypeString(SUBJ_TYPE);

     

      registrySubject.getAttributes(false).put("name", GrouperUtil.toSet("name." + id));

      registrySubject.getAttributes(false).put("loginid", GrouperUtil.toSet("id." + id));

      registrySubject.getAttributes(false).put("description", GrouperUtil.toSet("description." + id));

      registrySubject.getAttributes(false).put("email", GrouperUtil.toSet(id + "@somewhere.someSchool.edu"));

     

      GrouperDAOFactory.getFactory().getRegistrySubject().create(registrySubject);

 

 

Thanks,

Chris

 

From: Rob Gorrell []
Sent: Friday, May 24, 2013 11:31 AM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] UI displaying group members as empty checkboxes

 

You're right, it was description. I thought it was the description in the grouper_members table and I had inserted one there but saw nothing. I now see its the subjectattribute table which has some relation to the description in grouper_members. i ran this sql and now its displaying correctly:
insert into subjectattribute (subjectId, name, value, searchValue) values('','description','Robert Gorrell RWGORREL','Robert Gorrell RWGORREL');
insert into subjectattribute (subjectId, name, value, searchValue) values('','email','','');
insert into subjectattribute (subjectId, name, value, searchValue) values('','loginid','','');
insert into subjectattribute (subjectId, name, value, searchValue) values('','name','Robert Gorrell','Robert Gorrell');

I'm not sure if there's a gsh command or a proper way to add subjects via gsh that gets these attributes populated. I'm assuming, once i configure the subject API, I'll be mapping in these attributes so when a member is picked, these attributes are automatically loaded in and I want have to worried about adding them after the fact.

Thanks, I appreciate all the help... feel like i'm starting to understand the system a bit.
-Rob


On Fri, May 24, 2013 at 11:01 AM, Chris Hyzer <> wrote:

I think it might be subject name or description.  You might be able to change this in the media.properties

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Rob Gorrell
Sent: Friday, May 24, 2013 10:45 AM
To:
Subject: [grouper-users] UI displaying group members as empty checkboxes

 

So I have created my first group, etc:sysadmingroup and placed 4 subjects into it. I did this all through the addSubject and addMember gsh commands. The group functions fine and grants me admin access, but I was noticing when I look at the membership list in the UI, I get four "<checkbox> is a direct member"... but it isn't showing the subjectId or name I had given to my subjects. I would guess the UI is displaying some attribute I have yet to defined for my subjects? can someone explain what attribute this would be and how I go about defining it for the 4 subjects i've hand created?

Thanks,
-Rob


--

Robert W. Gorrell
Middleware Engineer, Identity and Access Management

University of NC at Greensboro
336-334-5954




--

Robert W. Gorrell
Middleware Engineer, Identity and Access Management

University of NC at Greensboro
336-334-5954




Archive powered by MHonArc 2.6.16.

Top of Page