Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load/save groovy console scripts from location under the current user #31

Open
paul-bjorkstrand opened this issue Nov 12, 2014 · 0 comments

Comments

@paul-bjorkstrand
Copy link
Contributor

Since the groovy console's power is somewhat limited by the user's privileges, I think it would make sense to have users store their saved scripts into their own location. This location would show up on the "Open" dialog, in addition to the common/provided scripts & samples inside /etc/groovyconsole/scripts. Some benefit include

  • All users can save scripts, without the possibility to overwrite someone else's scripts
  • Custom scripts can be protected within the normal ACL process (by default, users have full access to their own user location under /home/users)
  • Users can modify sample scripts and save them within the tool, while they may only have read-access to the /etc/groovyconsole path

Possible difficulties:

  • browsedialog widget supports one tree root, but a custom tree loader may overcome this difficulty
  • browsedialog may not support having a dynamic path, but again, it may be overcome by a custom tree loader
@markdaugherty markdaugherty self-assigned this Jun 27, 2017
@markdaugherty markdaugherty removed their assignment Mar 6, 2019
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

No branches or pull requests

2 participants