Hello together!
I am currently setting up an internal galaxy productive environment. Because not all people should be aware to upload files onto our system, I would like to setup a restriction like the following:
Unfortunately this example doesn’t work. All users having upload permissions anyway, without any helpful note in my log file.
How can I load the Galaxy Python modules in a manual behavior to find out step by step what is happening here in interactive Python mode?
For example:
galaxy@srvb186:~$ source /opt/galaxy/project/current/.venv/bin/activate
(.venv) galaxy@srvb186:~$ python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> import sys
>>> from galaxy.cli.jobs.mapper import JobMappingException
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'galaxy'
Unfortunately, I had not found anything helpful in the documentations. Which modules must be loaded beforehand?
I am grateful for any advice!