Open kwin opened 3 years ago
What is still missing is adjustments in the actual UI to make sure scripts in /apps/groovyconsole/samples can be selected.
I wonder whether the apps
is the correct location for sample scripts in context of open script
and save script
dialogs. Currently both dialogs works on the same path (var/groovyconsole/scripts
) that is:
Open script
dialog)That set up allows to keep project related groovy scripts under /var/groovyconsole/scripts/project-name
and then easily select them via path browser.
I have few ideas to make it work in the same manner for AEM as a Cloud Service:
/conf/groovyconsole/scripts/samples
and alter logic to use /conf/groovyconsole/scripts
directory to store manually saved scripts. Also update root path for the Open script dialog
to /conf/groovyconsole/scripts
. /apps
and update the the path browser accordingly (/apps
as root path) + ignore the fact that manually saved script will not be available via browser (I guess this functionality is rarely used and will not be popular for AEM in cloud)/
and keep the rest as is. User experience will not be as good but it will make it more flexible. I tried to implement the last idea but I have a hard time to configure the Classic UI widget to use use /
as root - but i guess it should be possible.
Personally I would choose the second approach but I wonder what do you think :)
Cheers, Bartek
Move samples from /var to /apps Set up ACLs and service users via repoinit
This closes #1