commit/galaxy-central: fubar: Added __admin_users__ as a parameter so tools can check __user_email__ and refuse to run unless
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/da5b91a86b2f/ changeset: da5b91a86b2f user: fubar date: 2012-06-06 06:02:41 summary: Added __admin_users__ as a parameter so tools can check __user_email__ and refuse to run unless being invoked by a local admin - useful for any potentially dangerous tools. affected #: 1 file diff -r a4196ffaf11e22b9b0a76fe6aa1cbbcccd2fb219 -r da5b91a86b2f739eb9deb8dc51fe16446e5cda35 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2056,6 +2056,7 @@ # datatypes conf path, so we can load the datatypes registry param_dict['__root_dir__'] = param_dict['GALAXY_ROOT_DIR'] = os.path.abspath( self.app.config.root ) param_dict['__datatypes_config__'] = param_dict['GALAXY_DATATYPES_CONF_FILE'] = self.app.datatypes_registry.integrated_datatypes_configs + param_dict['__admin_users__'] = self.app.config.admin_users # Return the dictionary of parameters return param_dict def build_param_file( self, param_dict, directory=None ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket