On Sunday, January 5, 2003, at 11:11 PM, David Sean Taylor wrote:
On Friday, December 27, 2002, at 09:29 AM, Gary Lawrence Murphy wrote:This appears to be a data-integrity problem where deleting a role has not been properly propagated or protected against: Seeking to refactor the role of "user" to "member" and "guest", I removed the role of "user" and now jetspeed refuses to assign any roles to any users returning instead errors like Failed update role+permission: org.apache.jetspeed.services.security.GroupException: Unjoin group 'Jetspeed' to user 'anon' failed: : Unknown role 'user' Adding the 'user' role back in corrects the problem. My guess is that you have to manually ensure that the role is no longer used before you remove it, but this should be detected when someone tries to delete a role. --
Have a look at JetspeedSecurity.properties:
services.JetspeedSecurity.programmatic.cascade.delete=false
If you are using Hypersonic or another database that doesn't support cascading deletes, then this setting should be true
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
+01 707 773-4646
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
