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/01 20:54:00 UTC
[jira] [Resolved] (SLING-9955) misleading class name: Acl should be
Ace
[ https://issues.apache.org/jira/browse/SLING-9955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-9955.
-------------------------------------
Resolution: Fixed
I renamed the package to accesscontrol and ACL to AccessControlEntry
> misleading class name: Acl should be Ace
> ----------------------------------------
>
> Key: SLING-9955
> URL: https://issues.apache.org/jira/browse/SLING-9955
> Project: Sling
> Issue Type: Bug
> Components: Content-Package to Feature Model Converter
> Reporter: Angela Schreiber
> Assignee: Carsten Ziegeler
> Priority: Minor
> Fix For: Content-Package to Feature Model Converter 1.0.24
>
>
> The access control part of the {{Content-Package to Feature Model Converter}} is a bit confusing to read.... one reason for this: class and method names are misleading.
> {{ACL}} stands for _Access Control List_ but the class _org.apache.sling.feature.cpconverter.acl.Acl_ actually captures the information that is stored in a singular _Access Control Entry_ (aka ACE), which is the type of objects that go into an ACL.
> btw: i am also not sure the usage of _acl_ in the package name is correct.... what was probably intended was _accesscontrol_ in general.
> [~cziegeler], [~dsuess], [~karlpauls]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)