You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/12/02 19:27:35 UTC

[jira] [Created] (OAK-1252) Lazy privilege access in AccessControlValidator

Jukka Zitting created OAK-1252:
----------------------------------

             Summary: Lazy privilege access in AccessControlValidator
                 Key: OAK-1252
                 URL: https://issues.apache.org/jira/browse/OAK-1252
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Priority: Minor


The {{AccessControlValidatorProvider.getPrivileges()}} method takes a few percent of the time spent processing small commits. It's not that much, but privileges are only really needed for the normally quite rare commits that modify ACEs. Thus it would make sense to defer the loading of privileges to only when they're actually needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)