Hi Eric,
I've updated again the Python code in the wiki page since the previous
version was not correctly retrieving 'required_role' and
'final_destination' attributes for tools installed from a Tool Shed if
you was using the short version of the tool ID in job_conf.xml .
Best,
Nicola
Il
Thanks Eric,
I'm sure this will be useful to many Galaxy admins!
I've edited a bit the wiki page, in particular I've updated the code to
use roles instead of groups, which is more appropriate in the context of
access control.
Best,
Nicola
Il 2013-12-07 03:07 Rasche Eric ha scritto:
Hi
Hi Nicola, Just thought I'd write back since I added a Wiki page in Admin/Config area for implementing access control. Thank you for sharing the snippets you posted in the email thread you linked me! http://wiki.galaxyproject.org/Admin/Config/Access%20Control Cheers,Eric Rasche 06.11.2013, 18:57,
Hi Eric,
please also take a look at this mailing list thread:
http://dev.list.galaxyproject.org/pass-user-groups-to-dynamic-job-runner-td4661753.html
If you are interested in the is_user_in_group solution, I have a
slightly updated version which also uses roles instead of groups.
Nicola
Il
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Nicola,
Oh, excellent. I must've skipped over that, given the strange title of
the thread.
Your solution at the end of that thread is very promising, and certainly
handles failure MUCH better than mine does (i.e. raising exceptions and
not