[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    RE: Possible data integrity fault: Removed 'user' role kills admin
From:       "Mark Orciuch" <morciuch () apache ! org>
Date:       2002-12-27 17:55:21
[Download RAW message or body]

Please log this into Bugzilla. Thanks!

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: garym@maya.dyndns.org [mailto:garym@maya.dyndns.org]On Behalf Of
> Gary Lawrence Murphy
> Sent: Friday, December 27, 2002 11:30 AM
> To: Jetspeed Users List
> Subject: Possible data integrity fault: Removed 'user' role kills admin
> 
> 
> 
> 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.
> -- 
> Gary Lawrence Murphy - garym@teledyn.com - TeleDynamics Communications
>    - blog: http://www.teledyn.com/mt/ - biz: http://teledyn.com/ -
>   "Computers are useless. They can only give you answers." (Picasso)
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:jetspeed-user-help@jakarta.apache.org>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic