You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/12/03 12:39:00 UTC

[jira] [Updated] (SLING-9971) AclManagerTest/RepPolicyEntryHandlerTest : no tests for 'deny' entries

     [ https://issues.apache.org/jira/browse/SLING-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-9971:
------------------------------------
    Fix Version/s: Content-Package to Feature Model Converter 1.0.24

> AclManagerTest/RepPolicyEntryHandlerTest : no tests for 'deny' entries
> ----------------------------------------------------------------------
>
>                 Key: SLING-9971
>                 URL: https://issues.apache.org/jira/browse/SLING-9971
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content-Package to Feature Model Converter
>            Reporter: Angela Schreiber
>            Priority: Minor
>             Fix For: Content-Package to Feature Model Converter 1.0.24
>
>
> from what i can see there exists not a single test case for 'deny' access control entries. while i agree that creating deny-entries for system users should be considered bad practice, it's it possible with resource-based access control setup (note though that principal-based access control setup only allows for 'allow' entries, see http://jackrabbit.apache.org/api/2.18/org/apache/jackrabbit/api/security/authorization/PrincipalAccessControlList.html#addEntry-java.lang.String-javax.jcr.security.Privilege:A- and http://jackrabbit.apache.org/oak/docs/security/authorization/principalbased.html#Implementation_Details).
> unless the converter intended to prevent 'deny' entries from being used (currently not the case), i think there should be at least 1 test that verifies that deny entries will be properly converted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)