Marina,
There you have it, (thanks David).
It is a simple matter to add users, roles, groups, etc. directly to the DB in the interim. See one of the following scripts:
CVS - src/sql/populate-userinfo-for-default-psml.sql
CVS - src/sql/<db name>/populate-userinfo-for-default-psml.sql
M1 - jetspeed-database/scripts/sql/DML/populate-userinfo-for-default-psml.sql
M1 - jetspeed-database/scripts/sql/DML/<db name>/populate-userinfo-for-default-psml.sql
Randy
David Le Strat wrote:
Marina,
Implementation of the role management portlet is not complete.
Regards,
David Le Strat. --- Marina <[EMAIL PROTECTED]> wrote:
dce-admin-roleorg.apache.jetspeed.security.SecurityException:Randy, thanks a lot for your help! I was able to setup a basic access control to my portlet's view and Edit mode. I do have more questions on the user management in J2, though :)
I've created a new user, dce-admin, using the "Administrative Portlets" as 'admin' user. This worked fine, and I was able to detect this user through the PortletResponse.getUserPrincipal(). I've also tried to create a new role, say dce-admin-role, and assign this role to the new user. This , unfortunately, did not work. I entered the new role name into the corresponding form ("Add Role") of the "Role Management" tab, but it was never added to the list of the available roles and when I tried to assign this role to the new user I've got an error from J2 complaining that this role does not exist:
******* New Full Path: /role/dce-admin-role failed to add user to role: dce-admin,
The role does not exist. dce-admin-role ******* New Full Path: /role/dce-admin-role
Any idea why this is not working?
Thanks, Marina
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]