Description
Some of the SessionOperation usage in security related bits is entirely not correct. Most of the operations are marked as read-only, when a lot of them should be read-write.
Items to review (just did a lookup of the class, so maybe not all of them need attention):
org.apache.jackrabbit.oak.jcr.delegate.AccessControlManagerDelegator
org.apache.jackrabbit.oak.jcr.delegate.AuthorizableDelegator
org.apache.jackrabbit.oak.jcr.delegate.GroupDelegator
org.apache.jackrabbit.oak.jcr.delegate.ImpersonationDelegator
org.apache.jackrabbit.oak.jcr.delegate.JackrabbitAccessControlManagerDelegator
org.apache.jackrabbit.oak.jcr.delegate.PrincipalManagerDelegator
org.apache.jackrabbit.oak.jcr.delegate.PrivilegeManagerDelegator
org.apache.jackrabbit.oak.jcr.delegate.UserDelegator
org.apache.jackrabbit.oak.jcr.security.AccessManager
anchela fyi