Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] converting group to role?

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] converting group to role?

Chronological Thread 
  • From: Shilen Patel <>
  • To: Chris Hyzer <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] converting group to role?
  • Date: Thu, 15 Apr 2010 16:21:24 -0400

Cool. Yes, I'll take care of it for 1.6.

How about in the opposite direction (role -> group)? Should we allow that or not and if we allow it, should we fail under some circumstances like if the role has a permission or if the role is part of another role set?


-- Shilen

On 4/15/10 4:05 PM, Chris Hyzer wrote:
Yes, we should do this. Sorry about that. So we changed the API earlier so that setters don't
do anything, but when you call "store()", or "save()" or something, that is
what sends the sql. So can that method check to see if the object has changed and add the
rolesets? Do you want to do this or do you want me to? :)


-----Original Message-----
From: Shilen Patel
Sent: Thursday, April 15, 2010 2:47 PM
To: Grouper Dev
Subject: [grouper-dev] converting group to role?


I'm wondering if it should be possible to convert a group to a role. If
you set Group.setTypeOfGroup(TypeOfGroup.role), that doesn't add the
role sets. Should that add the role set(s), or should there be another
way to convert a group to a role, or is there actually another way, or
should it not be possible..?

I basically mistakenly added a group instead of a role and then added
memberships and access privileges and finally when I was about to add
permissions, I realized my mistake.


-- Shilen

Archive powered by MHonArc 2.6.16.

Top of Page