mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Allow anonymous access to list/show in api/histories.
This commit is contained in:
@@ -11,7 +11,7 @@ log = logging.getLogger( __name__ )
|
||||
|
||||
class HistoriesController( BaseAPIController, UsesHistoryMixin ):
|
||||
|
||||
@web.expose_api
|
||||
@web.expose_api_anonymous
|
||||
def index( self, trans, deleted='False', **kwd ):
|
||||
"""
|
||||
GET /api/histories
|
||||
@@ -42,7 +42,7 @@ class HistoriesController( BaseAPIController, UsesHistoryMixin ):
|
||||
trans.response.status = 500
|
||||
return rval
|
||||
|
||||
@web.expose_api
|
||||
@web.expose_api_anonymous
|
||||
def show( self, trans, id, deleted='False', **kwd ):
|
||||
"""
|
||||
GET /api/histories/{encoded_history_id}
|
||||
|
||||
Reference in New Issue
Block a user