DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15684>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15684

Removed 'user' role kills admin

           Summary: Removed 'user' role kills admin
           Product: Jetspeed
           Version: 1.4b4-dev /CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Database
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

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

Reply via email to