grouper-dev - Re: [grouper-dev] converting group to role?
Subject: Grouper Developers Forum
List archive
- 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?
Thanks!
-- 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? :)
Thanks!
Chris
-----Original Message-----
From: Shilen Patel
[mailto:]
Sent: Thursday, April 15, 2010 2:47 PM
To: Grouper Dev
Subject: [grouper-dev] converting group to role?
Hey,
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.
Thanks!
-- Shilen
- converting group to role?, Shilen Patel, 04/15/2010
- RE: [grouper-dev] converting group to role?, Chris Hyzer, 04/15/2010
- Re: [grouper-dev] converting group to role?, Shilen Patel, 04/15/2010
- RE: [grouper-dev] converting group to role?, Chris Hyzer, 04/15/2010
- Re: [grouper-dev] converting group to role?, Shilen Patel, 04/15/2010
- RE: [grouper-dev] converting group to role?, Chris Hyzer, 04/15/2010
- Re: [grouper-dev] converting group to role?, Shilen Patel, 04/15/2010
- RE: [grouper-dev] converting group to role?, Chris Hyzer, 04/15/2010
Archive powered by MHonArc 2.6.16.