commit/galaxy-central: dannon: Datatypes controller should allow anonymous access.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/81880a04e6e7/ Changeset: 81880a04e6e7 Branch: next-stable User: dannon Date: 2013-10-21 22:16:01 Summary: Datatypes controller should allow anonymous access. Affected #: 1 file diff -r 000d11c7ce7e6125998d7095a247774a150c120e -r 81880a04e6e79d944a6d9c225b36417114cd38ec lib/galaxy/webapps/galaxy/api/datatypes.py --- a/lib/galaxy/webapps/galaxy/api/datatypes.py +++ b/lib/galaxy/webapps/galaxy/api/datatypes.py @@ -4,13 +4,12 @@ from galaxy import web from galaxy.web.base.controller import BaseAPIController -from galaxy.datatypes.registry import Registry import logging log = logging.getLogger( __name__ ) class DatatypesController( BaseAPIController ): - @web.expose_api + @web.expose_api_anonymous def index( self, trans, **kwd ): """ GET /api/datatypes @@ -18,8 +17,7 @@ """ try: return trans.app.datatypes_registry.upload_file_formats - except Exception, exception: log.error( 'could not get datatypes: %s', str( exception ), exc_info=True ) trans.response.status = 500 - return { 'error': str( exception ) } \ No newline at end of file + return { 'error': str( exception ) } 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)
-
commits-noreply@bitbucket.org