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

2017-06-13 Thread angela (JIRA)

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

angela edited comment on JCR-4144 at 6/13/17 3:33 PM:
--

[~reschke], i did the following

{code}
mvn clean install -Pclirr
{code}

but maybe that's not the right way to use the _clirr_ profile? i was just 
spotting the profile while looking if we _really_ don't have the baseline 
plugin in the default build profile.
since i distinctly remember not having come across this profile before and i 
don't remember having ever touched the export version when adding extensions to 
the API, i wasn't too surprised about the errors... but that might also be 
caused amnesia ;-)


was (Author: anchela):
[~reschke], i did the following

{code}
mvn clean install -Pclirr
{code}

but maybe that's not the right way to use the _clirr_ profile? i was just 
spotting the profile while looking if we _really_ don't have the baseline 
plugin in the default build profile.

> 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: New Feature
>  Components: jackrabbit-api
>Affects Versions: 2.15.3
>Reporter: Nitin Nizhawan
> Fix For: 2.15.4
>
> Attachments: JCR-4144.patch
>
>
> 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)


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

2017-06-13 Thread Julian Reschke (JIRA)

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

Julian Reschke edited comment on JCR-4144 at 6/13/17 1:20 PM:
--

[~anchela] - I see only a single error, so please clarify how you're running 
the check...


was (Author: reschke):
[~angela] - I see only a single error, so please clarify how you're running the 
check...

> 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: New Feature
>  Components: jackrabbit-api
>Affects Versions: 2.15.3
>Reporter: Nitin Nizhawan
> Fix For: 2.15.4
>
> Attachments: JCR-4144.patch
>
>
> 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)


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

2017-06-12 Thread angela (JIRA)

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

angela edited comment on JCR-4144 at 6/12/17 3:23 PM:
--

[~alexparvulescu], [~reschke], may i ask you to review to proposed API 
extension? I run the jackrabbit build with integration tests and wonder why the 
baseline plugin didn't prompt me to increase the export version of 
_org.apache.jackrabbit.api.security_... any idea?


was (Author: anchela):
[~alexparvulescu], [~reschke], may i ask you to review to proposed API 
extension? I run the jackrabbit build with integration tests and wonder why it 
didn't prompt me to increase the export version of 
_org.apache.jackrabbit.api.security_... any idea?

> 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: New Feature
>  Components: jackrabbit-api
>Affects Versions: 2.15.3
>Reporter: Nitin Nizhawan
> Fix For: 2.15.4
>
> Attachments: JCR-4144.patch
>
>
> 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)