Hi,

I've played around with the role management features and ran into a problem. These are the steps I took:

1. login as admin
2. choose the 'Security Role Browser' and add a new role 'test'
3. choose the 'User Browser' and assign the role 'test' to user X
4. choose the 'Security Role Browser' and remove the role 'test'
5. try to login as user X

Then, depending on which (security) implementation I use, I get the
following errors:

[JS 1.4b3, using the default TurbineUserManagement]:
"Failed to update last login : Failed to retrieve roles : Failed to select one and only one row."


[JS 1.4b4, using LDAPUserManagement]:
"Failed to update last login : Failed to retrieve groups"

Apparently that is because when roles are deleted, no cascading deletes happen, i.e. the user is still associated with the (deleted) role. When I delete the role/user association manually in LDAP, for example, the user can log in again. Am I doing something wrong? Is this a bug?

Cheers,
T�m


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



Reply via email to