Merge pull request #316 from jzelinskie/read-tags

tag history requires READ instead of WRITE
This commit is contained in:
Jimmy Zelinskie 2015-08-07 13:26:04 -04:00
commit 7d6c6ba8e8
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)