Open kwin opened 2 weeks ago
I attached an example OSGi configuration which should achieve this (for AEMaaCS): be.orbinson.aem.groovy.console.configuration.impl.DefaultConfigurationService.cfg.json
FTR: You can see the same environment variable is being used internally by AEM for its org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl
configuration PID (exposed via Developer Console -> Status Dump -> Configurations)
As by default only the
admin
user has the rights to execute the scripts in the Groovy Console (https://github.com/orbinson/aem-groovy-console?tab=readme-ov-file#osgi-configuration) but theadmin
user is not usable in AEMaaCS, the default configuration should also grant access to theadministrators
group or the according IMS Administrator Profile Name (accessible via environment variable$[env:aemCloudAdministrators;default=administrators]
).Please add an according OSGi configuration to https://github.com/orbinson/aem-groovy-console/tree/main/ui.config/src/main/content/jcr_root/apps/groovyconsole-config/osgiconfig/config. As the interpolation feature is available on Cloud only this requires a dedicated package for cloud.