Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Groovy script execution error in AEM as a cloud service ("You do not have permission to run scripts in the Groovy Console.")

Avatar

Level 2

Hi Team,

Installed groovy console in my author (AEM As A Cloud service) and while executing script am getting below error.  I have admin access to the system . 

 

"You do not have permission to run scripts in the Groovy Console."

 

- pid: "org.cid15.aem.groovy.console.configuration.impl.DefaultConfigurationService"
  properties:
    allowedGroups:
    - "adminstrators"
    allowedScheduledJobsGroups:
    - "adminstrators"

 Kindly help me 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@upendarme1 

 

Please check the spelling of the group name. It should be "administrators"


Aanchal Sikka

View solution in original post

4 Replies

Avatar

Level 2

Still no luck 

Am getting below warn in the logs

GET /bin/groovyconsole/services HTTP/1.1] com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess Denied reference from bundle 'aem-groovy-console-bundle'

Avatar

Correct answer by
Community Advisor

@upendarme1 

 

Please check the spelling of the group name. It should be "administrators"


Aanchal Sikka