On Jun 5, 2004, at 10:51 AM, Stijn de Witt wrote:

Can anyone point me to information on the algorith that determines which
.psml file jetspeed uses? Is it possible to completely remove the user dir
from webapp/WEB-INF/psml? I would like to have only the directory 'role'
with subdirs 'guest', 'user', 'manager' and 'admin'. No per-user-specific
psml. How can this be done?

Use the "role-based psml" feature, setup in your JetspeedResources.property file:


When a new user is created, this account's psml is cloned to the new account psml
# Setting this account to nothing configures role-based psml as the default method for new users
services.Profiler.newuser.template=



# Profiler Fallback options # # use Role-based PSML fallback services.Profiler.rolefallback=true

Then you need to create a Role PSML page, assign your users this role and your ready
For ex, if you create a role called "employee" and then set in the JetspeedSecurity.properties:


# Role(s) to assign to new user.  Multiple Role must be comma separated.
services.JetspeedSecurity.newuser.roles=employee,user

The role-fallback algorithm isn't that sophisticated
It finds the first matching PSML file for any of the roles that a user is a member of



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to