You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Prabhakar, Sushil" <Su...@FMR.COM> on 2007/04/17 15:40:02 UTC
Proper usage of groups
Hi,
Could someone shed some light on how to use groups effectively.
Currently when I assign a role to a group followed by assigning a user
to that group, the user does not get the rights based on the new role.
For example if I give a group the role of manager and then assign the
group to a user, the user is unable to see the administrative tabs that
a manager role gets.
Any ideas/clarifications on the relationship between the group,role and
user will be very much appreciated.
Thanks in advance for your response.
Sushil
Re: Proper usage of groups
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 21, 2007, at 11:02 AM, Mikko Wuokko wrote:
> Thanks. I think I'll have check the profiling stuff and see whats
> going on over there, since I've pretty much ignored it till now.
>
> About the domain. I understood from "looking into" that such thing
> does not exist yet, right?
Yes, correct.
> If I got the picture right, the domain would be kind of a namespace
> where certain users would exist. The groups would be a bunch of
> users regardless of which domain they belong, one two or hundreds
> of users in size. Then the roles would be assigned to the groups
> and therefore also to the user in that particular group.
>
> So something like this, if this makes any sense after I post it..
>
> Users from domains:
> user1
> ->domain1
> user2
>
> user3
> ->domain2
> user4
>
> Groups of users and their roles:
> user1 role1
> user3 -> group1 -> role2
> user4
>
> role1
> user2 -> group2 -> role3
>
>
> Naturally you should have to be able to set some default roles for
> users in a certain domain, which is basically kind of a group too.
>
> Is this anywhere near what you had in mind?
>
Yes, it is very close to what I'd like to see
I think we should start designing the domain enhancements to Jetspeed
by starting a JIRA issue
Once the 2.1.1 release goes out (we are locking new development until
then), we can start implementing it (unless someone wants to start
sooner on a branch)
I would also like to modify the User tables to be more normalized in 2.2
The part that is worst is having the principal type and the principal
name in the same PATH column....
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Proper usage of groups
Posted by Mikko Wuokko <mi...@evtek.fi>.
Thanks. I think I'll have check the profiling stuff and see whats going
on over there, since I've pretty much ignored it till now.
About the domain. I understood from "looking into" that such thing does
not exist yet, right? If I got the picture right, the domain would be
kind of a namespace where certain users would exist. The groups would be
a bunch of users regardless of which domain they belong, one two or
hundreds of users in size. Then the roles would be assigned to the
groups and therefore also to the user in that particular group.
So something like this, if this makes any sense after I post it..
Users from domains:
user1
->domain1
user2
user3
->domain2
user4
Groups of users and their roles:
user1 role1
user3 -> group1 -> role2
user4
role1
user2 -> group2 -> role3
Naturally you should have to be able to set some default roles for users
in a certain domain, which is basically kind of a group too.
Is this anywhere near what you had in mind?
Regards,
Mikko
David Sean Taylor wrote:
>
> On Apr 20, 2007, at 2:54 PM, Mikko Wuokko wrote:
>
>> Hi.
>>
>> Just to give my notes on the group/role/user matter.
>>
>> I've notived that the groups, roles and users are not very effectively
>> bound together. The case usually is that you want to give a single
>> user a single role in a single group. Then you assign something to
>> that group and the users rights will be based on the users roles. Now
>> you assign users to groups and groups to roles. So everybody in one
>> group will have the same roles. So it is quite impossible to say that
>> this guy in that group is the only one who has the admin rights for
>> the groups content/portlets/whatever. It does not really affect now,
>> but could cause some issues in future as you wanted add the CMS system
>> into Jetspeed at some point.
>>
>
> In Jetspeed-1 a user could have different roles in different groups. I
> decided not to implement things that way in 2.
> Instead, I am looking into introducing the concept of a domain to better
> group users/roles/groups
>
>> Or is there a somekind of different level of organising I don't see?
>> Does the profiling come into picture here? I've never really figured
>> out what the profiling is really used for.
>>
> Profiling is not involved in security.
> Here are the docs, but I'd be glad to go into more details about how it
> works if you have any specific questions
>
> http://portals.apache.org/jetspeed-2/guides/guide-profiler.html
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Proper usage of groups
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 20, 2007, at 2:54 PM, Mikko Wuokko wrote:
> Hi.
>
> Just to give my notes on the group/role/user matter.
>
> I've notived that the groups, roles and users are not very
> effectively bound together. The case usually is that you want to
> give a single user a single role in a single group. Then you assign
> something to that group and the users rights will be based on the
> users roles. Now you assign users to groups and groups to roles. So
> everybody in one group will have the same roles. So it is quite
> impossible to say that this guy in that group is the only one who
> has the admin rights for the groups content/portlets/whatever. It
> does not really affect now, but could cause some issues in future
> as you wanted add the CMS system into Jetspeed at some point.
>
In Jetspeed-1 a user could have different roles in different groups.
I decided not to implement things that way in 2.
Instead, I am looking into introducing the concept of a domain to
better group users/roles/groups
> Or is there a somekind of different level of organising I don't
> see? Does the profiling come into picture here? I've never really
> figured out what the profiling is really used for.
>
Profiling is not involved in security.
Here are the docs, but I'd be glad to go into more details about how
it works if you have any specific questions
http://portals.apache.org/jetspeed-2/guides/guide-profiler.html
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Proper usage of groups
Posted by Mikko Wuokko <mi...@evtek.fi>.
Hi.
Just to give my notes on the group/role/user matter.
I've notived that the groups, roles and users are not very effectively
bound together. The case usually is that you want to give a single user
a single role in a single group. Then you assign something to that group
and the users rights will be based on the users roles. Now you assign
users to groups and groups to roles. So everybody in one group will have
the same roles. So it is quite impossible to say that this guy in that
group is the only one who has the admin rights for the groups
content/portlets/whatever. It does not really affect now, but could
cause some issues in future as you wanted add the CMS system into
Jetspeed at some point.
Or is there a somekind of different level of organising I don't see?
Does the profiling come into picture here? I've never really figured out
what the profiling is really used for.
Regards,
Mikko
David Sean Taylor wrote:
>
> On Apr 19, 2007, at 1:57 PM, Prabhakar, Sushil wrote:
>
>> Hi David,
>>
>> I am using JetSpeed 2.
>>
>>
>
> I agree that this would be a useful feature however I don't see where
> the security checks are being made in this manner.
> Could you please log a JIRA issue as an improvement?
>
>> Sushil
>>
>> -----Original Message-----
>> From: David Sean Taylor [mailto:david@bluesunrise.com]
>> Sent: Wednesday, April 18, 2007 9:32 PM
>> To: Jetspeed Users List
>> Subject: Re: Proper usage of groups
>>
>>
>> On Apr 17, 2007, at 3:40 PM, Prabhakar, Sushil wrote:
>>
>>> Hi,
>>>
>>> Could someone shed some light on how to use groups effectively.
>>>
>>> Currently when I assign a role to a group followed by assigning a user
>>> to that group, the user does not get the rights based on the new role.
>>> For example if I give a group the role of manager and then assign the
>>> group to a user, the user is unable to see the administrative tabs
>>> that
>>> a manager role gets.
>>>
>>> Any ideas/clarifications on the relationship between the group,role
>>> and
>>> user will be very much appreciated.
>>>
>>
>> Jetspeed 1 or 2?
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
> --David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> [office] +01 707 773-4646
> [mobile] +01 707 529 9194
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Proper usage of groups
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 19, 2007, at 1:57 PM, Prabhakar, Sushil wrote:
> Hi David,
>
> I am using JetSpeed 2.
>
>
I agree that this would be a useful feature however I don't see where
the security checks are being made in this manner.
Could you please log a JIRA issue as an improvement?
> Sushil
>
> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com]
> Sent: Wednesday, April 18, 2007 9:32 PM
> To: Jetspeed Users List
> Subject: Re: Proper usage of groups
>
>
> On Apr 17, 2007, at 3:40 PM, Prabhakar, Sushil wrote:
>
>> Hi,
>>
>> Could someone shed some light on how to use groups effectively.
>>
>> Currently when I assign a role to a group followed by assigning a
>> user
>> to that group, the user does not get the rights based on the new
>> role.
>> For example if I give a group the role of manager and then assign the
>> group to a user, the user is unable to see the administrative tabs
>> that
>> a manager role gets.
>>
>> Any ideas/clarifications on the relationship between the group,role
>> and
>> user will be very much appreciated.
>>
>
> Jetspeed 1 or 2?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
RE: Proper usage of groups
Posted by "Prabhakar, Sushil" <Su...@FMR.COM>.
Hi David,
I am using JetSpeed 2.
Sushil
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Wednesday, April 18, 2007 9:32 PM
To: Jetspeed Users List
Subject: Re: Proper usage of groups
On Apr 17, 2007, at 3:40 PM, Prabhakar, Sushil wrote:
> Hi,
>
> Could someone shed some light on how to use groups effectively.
>
> Currently when I assign a role to a group followed by assigning a user
> to that group, the user does not get the rights based on the new role.
> For example if I give a group the role of manager and then assign the
> group to a user, the user is unable to see the administrative tabs
> that
> a manager role gets.
>
> Any ideas/clarifications on the relationship between the group,role
> and
> user will be very much appreciated.
>
Jetspeed 1 or 2?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Proper usage of groups
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 17, 2007, at 3:40 PM, Prabhakar, Sushil wrote:
> Hi,
>
> Could someone shed some light on how to use groups effectively.
>
> Currently when I assign a role to a group followed by assigning a user
> to that group, the user does not get the rights based on the new role.
> For example if I give a group the role of manager and then assign the
> group to a user, the user is unable to see the administrative tabs
> that
> a manager role gets.
>
> Any ideas/clarifications on the relationship between the group,role
> and
> user will be very much appreciated.
>
Jetspeed 1 or 2?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org