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

List:       jetspeed-dev
Subject:    DO NOT REPLY [Bug 15684] New:  -
From:       bugzilla () apache ! org
Date:       2002-12-27 18:12:22
[Download RAW message or body]

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: jetspeed-dev@jakarta.apache.org
        ReportedBy: garym@canada.com


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:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-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