You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/04/29 16:49:42 UTC

DO NOT REPLY [Bug 30942] - Granting a new privilege to a principal with existing privileges creates duplicate ace for the same principal in the acl list

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30942





------- Additional Comments From zvonov@mobilae.ru  2005-04-29 16:49 -------
I found this bug today too :) Here is additional info
If two or more privileges in one ACE was sent to server in AclMethod, result 
returned by PROPFIND will contain more than one ACE with single privilege in 
each:

               <D:ace>
                  <D:principal>
                     <D:href>
                           /slide/roles/user
                     </D:href>
                  </D:principal>
                  <D:grant>
                     <D:privilege>
                        <D:write>
                        </D:write>
                     </D:privilege>
                  </D:grant>
               </D:ace>
               <D:ace>
                  <D:principal>
                     <D:href>
                           /slide/roles/user
                     </D:href>
                  </D:principal>
                  <D:grant>
                     <D:privilege>
                        <D:bind>
                        </D:bind>
                     </D:privilege>
                  </D:grant>
               </D:ace>

However, privileges set in Domain.xml are returned as expected:
               <D:ace>
                  <D:principal>
                     <D:all>
                     </D:all>
                  </D:principal>
                  <D:deny>
                     <D:privilege>
                        <D:read-acl>
                        </D:read-acl>
                     </D:privilege>
                     <D:privilege>
                        <D:write-acl>
                        </D:write-acl>
                     </D:privilege>
                     <D:privilege>
                        <D:unlock>
                        </D:unlock>
                     </D:privilege>
                  </D:deny>
                  <D:inherited>
                     <D:href>
                           /slide/
                     </D:href>
                  </D:inherited>
               </D:ace>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org