The method SecurityImpl.setPermissions() doesn't fire events about which permissions are new or removed. Because this method is called from the WebDAV servlet it is not possible to react on changes in visibility of resources. The patch provides a change to this method. Further the interface Security is changed by allowing VetoException to be thrown by this method.
Created attachment 13064 [details] Adds the VetoException to be thrown by Security.setPermissions()
Created attachment 13065 [details] Enhances the implementation of SecurityImpl.setPermissions()