You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2017/06/12 14:36:00 UTC

[jira] [Commented] (JCR-4144) JackrabbitAccessControlList should have an API boolean isMultiValueRestriction(restrictionName)

    [ https://issues.apache.org/jira/browse/JCR-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046627#comment-16046627 ] 

angela commented on JCR-4144:
-----------------------------

[~nitin.nizhawan], thanks for the report. i will take a look as soon as time permits

> JackrabbitAccessControlList should have an API boolean isMultiValueRestriction(restrictionName)
> -----------------------------------------------------------------------------------------------
>
>                 Key: JCR-4144
>                 URL: https://issues.apache.org/jira/browse/JCR-4144
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-api
>    Affects Versions: 2.15.3
>            Reporter: Nitin Nizhawan
>             Fix For: 2.15.4
>
>
> JackrabbitAccessControlList \[0\] has a method int getRestrictionType(String restrictionName).
> This method returns the type of the restriction specified restrictionName. Although, it does not provide enough information to deduce whether restriction is defined to accept single or multiple values. Hence, a method with following signature should be added to this API
> {code}
>   boolean isMultiValueRestriction(String restrictionName)
> {code}
> \[0\] https://jackrabbit.apache.org/api/2.4/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)