CA Config Editor page for global folder

Description

Where should we add the ca editor config page in order to work for /config/global folder?

Activity

Show:
Stefan Seifert
January 4, 2021, 6:27 PM
Edited

theoretically it is possible by

  • adding a content folder e.g. /content/global with a property sling:configRef pointing to /conf/global

  • adding a CA config editor page below /content/global

but in practice this does not work as currently the sling caconfig implementation has a special treatment of fallback paths like /conf/global and does not allow persisting configuration to them using the caconfig management API (on which the CA config editor relies):
https://github.com/apache/sling-org-apache-sling-caconfig-impl/blob/acc61e506c22a22e2d7d31fdff9340b702b40d86/src/main/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategy.java#L242

Assignee

Unassigned

Reporter

Denisa Corbu

Labels

None

Components

Priority

Major