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,
Solved! Go to Solution.
Views
Replies
Total Likes
In OSGI configuration check for "Groovy Console Configuration Service" . You should be able to find the property there .
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
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.
In OSGI configuration check for "Groovy Console Configuration Service" . You should be able to find the property there .
see: https://lucanerlich.com/docs/aem/groovy-console/
Add the following osgi configuration file:
Views
Replies
Total Likes