You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2021/11/16 17:10:00 UTC
[jira] [Created] (SLING-10924) DefaultAclManager keeps redundant information about global service users
Angela Schreiber created SLING-10924:
----------------------------------------
Summary: DefaultAclManager keeps redundant information about global service users
Key: SLING-10924
URL: https://issues.apache.org/jira/browse/SLING-10924
Project: Sling
Issue Type: Improvement
Components: Content-Package to Feature Model Converter
Reporter: Angela Schreiber
with SLING-10920 a separate set of all service users across different packages is kept, which heavily overlaps with the 'systemUserIds' set, which also intends to keep track of global service users. the id-set goes a further and in addition also records those service user ids that have been defined with the 'seed' or repo-init statements. however, for those it's not possible to determine their path (in contrast to content packages) and thus no "SystemUser" objects have been defined so far.
upon execution the the service-user-paths are used to determine if a given access control entry points to some user home.
this means however, that we will today reject access control entries defined in a content package if the corresponding service user has been defined with repo-init or the seed. i am not sure how common this is, but we might want to simplify the structure and merging the 2 redundant sets. maybe some sort of service-user-stub where the path is not defined and make sure those are excluded from the special path calculation?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)