1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/65d18f3829a0/ Changeset: 65d18f3829a0 User: dannon Date: 2013-04-02 23:20:18 Summary: Swap history_contents to use expose_api_anonymous. Affected #: 1 file diff -r 4ed80ec3f309f5c8e1c9e735666a2b9b682ff388 -r 65d18f3829a0771910af5b65b5e4c9ed59774b2b lib/galaxy/webapps/galaxy/api/history_contents.py --- a/lib/galaxy/webapps/galaxy/api/history_contents.py +++ b/lib/galaxy/webapps/galaxy/api/history_contents.py @@ -12,7 +12,7 @@ class HistoryContentsController( BaseAPIController, UsesHistoryDatasetAssociationMixin, UsesHistoryMixin, UsesLibraryMixin, UsesLibraryMixinItems ): - @web.expose_api + @web.expose_api_anonymous def index( self, trans, history_id, ids=None, **kwd ): """ GET /api/histories/{encoded_history_id}/contents @@ -35,7 +35,7 @@ try: # get the history, if anon user and requesting current history - allow it if( ( trans.user == None ) - and ( history_id == trans.security.encode_id( trans.history.id ) ) ): + and ( history_id == trans.security.encode_id( trans.history.id ) ) ): #TODO:?? is secure? history = trans.history @@ -117,7 +117,7 @@ 'error' : str( exception ) } - @web.expose_api + @web.expose_api_anonymous def show( self, trans, id, history_id, **kwd ): """ GET /api/histories/{encoded_history_id}/contents/{encoded_content_id} 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.