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 "Angela Schreiber (Jira)" <ji...@apache.org> on 2022/06/02 13:54:00 UTC
[jira] [Resolved] (OAK-9791) Missing check for restriction node being present
[ https://issues.apache.org/jira/browse/OAK-9791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angela Schreiber resolved OAK-9791.
-----------------------------------
Fix Version/s: 1.44.0
Resolution: Fixed
> Missing check for restriction node being present
> ------------------------------------------------
>
> Key: OAK-9791
> URL: https://issues.apache.org/jira/browse/OAK-9791
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: authorization-principalbased
> Reporter: Angela Schreiber
> Assignee: Angela Schreiber
> Priority: Major
> Fix For: 1.44.0
>
>
> with OAK-9775 {{AbstractRestrictionProvider.readRestriction}} will warn about unsupported restrictions. since principal-based authorization only allows restrictions below a dedicate rep:restriciton subtree and should have been added before calling the read method. while is is the case for the 'hasValidRestristion' utility method it is missing upon reading the entry method.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)