Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Unable to run Groovy script in my DEV instance

Avatar

Level 3

Hi,

 

We are able to run the groovy script in our Local AEM instance, but in DEV instance(there on cloud) we are getting this error "You do not have permission to run scripts in the Groovy Console.

Same Service pack (SP-6.5.12) is installed in my DEV and Local instances.

 

Could you please help us to run the script in DEV instance also.

 

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Level 6

In OSGI configuration check for "Groovy Console Configuration Service" .  You should be able to find the property there . 

View solution in original post

3 Replies

Avatar

Level 6

Hi,

Have you checked if your username is part of the "Script Execution Allowed Groups" ?  Pls check the below links. It may help.

https://github.com/icfnext/aem-groovy-console#osgi-configuration

https://github.com/icfnext/aem-groovy-console/issues/91

 

Thanks,

Somen

Avatar

Level 3

Hi Somen,

 

Thank you so much for the quick reply, where can we check this part "Script Execution Allowed Groups" and in Local instance, we  did not give anything like this, but it is running properly.

Thanks,
Ajay Boddu.

Avatar

Correct answer by
Level 6

In OSGI configuration check for "Groovy Console Configuration Service" .  You should be able to find the property there .