Add some missing documentation.
This commit is contained in:
parent
ae6bfb072d
commit
ab60a10a93
2 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,7 @@ class RepositoryUserPermission(RepositoryParamResource):
|
|||
@require_repo_admin
|
||||
@nickname('getUserPermission')
|
||||
def get(self, namespace, repository, username):
|
||||
""" Get the Fetch the permission for the specified user. """
|
||||
logger.debug('Get repo: %s/%s permissions for user %s' %
|
||||
(namespace, repository, username))
|
||||
perm = model.get_user_reponame_permission(username, namespace, repository)
|
||||
|
|
Reference in a new issue