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 Atul Dambalkar <ad...@cisco.com> on 2001/06/29 00:21:55 UTC

Defining roles in Jetspeed

Hi,

I have couple of questions:

1. How do we define roles/groups in Jetspeed?
2. Once groups are defined how do we assign particular user to a group?
3. Once roles are defined how do we assign one or more than one roles to a 
user?
4. Can there be a role/group specific .psml file in Jetspeed?

Thanks,

-Atul


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Defining roles in Jetspeed

Posted by David Sean Taylor <da...@bluesunrise.com>.
> 1. How do we define roles/groups in Jetspeed?

Im just working on the UI for that right now.
You can have a look at it (its not yet complete) by logging on as
admin/jetspeed.
Hope to commit by this weekend.

Otherwise, you must enter roles directly into the database.

> 2. Once groups are defined how do we assign particular user
> to a group?

Groups can be a little confusing in the Turbine Security Model.
I will delegate the definition to them, quoting directly from the Turbine
website:

<quote>
User is an account that is interaction with the System and the Group is a
something that a User would want to do something in. In the Turbine mailing
lists it has often been described in the same way as a project. In a project
you have fulfill a role, however a User doesnt "belong" to a project they
merely have a role in that project ( or group ). In this manner too a User
can have many Roles within the one Group. For instance a User may have the
Role Developer in the Group, but may also have the Role of Administrator as
well. While initially confusing at first, as there are no group-user or
role-user containers, it is a flexible system and strong system.
</quote>

> 3. Once roles are defined how do we assign one or more than
> one roles to a
> user?

Logon as an administrator and use the UI to assign a role to a user. Im just
finishing up this part - it will be checked in by tomorrow the latest. In
the meantime, you can edit the database tables.

> 4. Can there be a role/group specific .psml file in Jetspeed?

Yes, see proposals/0005.txt for a full description.
You can place your psml anywhere under the psml/role or psml/group
directories (media type and language is also supported), and use the URL
format described below to access them.

/page/<ResourceName> - Specifies the name of the profiling resource.

/role/<RoleName> - Specifies that the request can only be satisfied by a
common role resource .
An example would be /page/FinancePage/role/Accountant/, meaning that we are
requesting the FinancePage resource, and it is the Finance resource for the
Accountant role. It will be up to the Profiler implementation to determine
if the user is authorized to assume this role. The Security service, whether
it is Turbine Security or other, should hold the controlling access
information.

/group/<groupName> - Specifies that the request can only be satisfied by a
common group resource.
An example would be /group/Finance/page/BenefitsPage, meaning that we are
requesting the BenefitsPage, and it is the Benefits page for the group
'Finance'. It will be up to the Profiler implementation to determine if the
user is a member of this group. The Security service, whether it be Turbine
Security or other, should hold this mapping.

NOTE : security constraints are not yet implemented on PSML

-------------------------------------
David Sean Taylor
taylor@apache.org
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------




> -----Original Message-----
> From: Atul Dambalkar [mailto:adambalk@cisco.com]
> Sent: Thursday, June 28, 2001 3:22 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Defining roles in Jetspeed
>
>
> Hi,
>
> I have couple of questions:
>
> 1. How do we define roles/groups in Jetspeed?
> 2. Once groups are defined how do we assign particular user
> to a group?
> 3. Once roles are defined how do we assign one or more than
> one roles to a
> user?
> 4. Can there be a role/group specific .psml file in Jetspeed?
>
> Thanks,
>
> -Atul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org