Skip to content

Ship default OSGi config granting administrators access to the Groovy Console - #76

Open
royteeuwen wants to merge 4 commits into
mainfrom
feature/55-default-osgi-config-allowed-groups
Open

Ship default OSGi config granting administrators access to the Groovy Console#76
royteeuwen wants to merge 4 commits into
mainfrom
feature/55-default-osgi-config-allowed-groups

Conversation

@royteeuwen

Copy link
Copy Markdown
Contributor

Adds a default OSGi configuration for DefaultConfigurationService that allows admin, administrators, and IMS AEM Administrator Product Profile users to execute scripts and schedule jobs. Uses the Felix ConfigAdmin interpolation variable for AEMaaCS compatibility with a fallback to the administrators group for AEM 6.5.

Closes #55

@royteeuwen

Copy link
Copy Markdown
Contributor Author

@kwin seeing as I'm going to make a release anyway, I can just as well (finally 😅) add this feature request as well. I didn't go for the dedicated cloud package, but actually for the same approach you took in the Netcentric actool, does that work for you :)?

@kwin

kwin commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

In ACTool we are leveraging a dedicated cloud package. Interpolation is not available in AEM 6.5

@royteeuwen

Copy link
Copy Markdown
Contributor Author

In ACTool we are leveraging a dedicated cloud package. Interpolation is not available in AEM 6.5

Ah I checked out the project and only saw one package, but it's with the resources filter that you are filtering a jcr_root vs a jcr_root-cloud, gotcha. Will see if I can also easily do this, but I actually wanted to try and avoid a dedicated cloud package :(, because then the consumers have to know that they have to switch. Another option to do this would be a configuration option specifically for cloud, so that it checks the env variable in code instead, this keeps the packaging a lot more simple

… Console

Adds a default OSGi configuration for DefaultConfigurationService that
allows admin, administrators, and IMS AEM Administrator Product Profile
users to execute scripts and schedule jobs. Uses the Felix ConfigAdmin
interpolation variable for AEMaaCS compatibility with a fallback to
the administrators group for AEM 6.5.

Closes #55
… are not default allowed without configuration
@royteeuwen
royteeuwen force-pushed the feature/55-default-osgi-config-allowed-groups branch from f414a2c to dff3070 Compare March 23, 2026 19:25
@royteeuwen

Copy link
Copy Markdown
Contributor Author

@kwin could you live with the proposed changes in the PR ;)?

@royteeuwen
royteeuwen force-pushed the feature/55-default-osgi-config-allowed-groups branch from 8649651 to 0c46be7 Compare March 23, 2026 21:36
@sonarqubecloud

Copy link
Copy Markdown

@royteeuwen

Copy link
Copy Markdown
Contributor Author

@kwin any remarks? Else i'll merge it as-is and release it with groovy 5.x upgrade in aem-groovy-console 20.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ship with an OSGi configuration by default which allows IMS AEM Administrator Product Profile users to use the Groovy Console

2 participants