tag history requires READ instead of WRITE

Fixes #315.
This commit is contained in:
Jimmy Zelinskie 2015-08-05 17:07:35 -04:00
parent d480a204f5
commit 411d4e7abb
2 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ from auth.auth_context import get_authenticated_user
class ListRepositoryTags(RepositoryParamResource):
""" Resource for listing full repository tag history, alive *and dead*. """
@require_repo_write
@require_repo_read
@parse_args
@query_param('specificTag', 'Filters the tags to the specific tag.', type=str, default='')
@query_param('limit', 'Limit to the number of results to return per page. Max 100.', type=int, default=50)