Port over tokens.
This commit is contained in:
parent
3d4ece31f3
commit
cd276773ff
4 changed files with 147 additions and 10 deletions
|
@ -92,7 +92,7 @@ class RepositoryUserPermission(RepositoryParamResource):
|
|||
'properties': {
|
||||
'role': {
|
||||
'type': 'string',
|
||||
'description': 'Visibility which the repository will start with',
|
||||
'description': 'Role to use for the user',
|
||||
'enum': [
|
||||
'read',
|
||||
'write',
|
||||
|
@ -176,12 +176,12 @@ class RepositoryTeamPermission(RepositoryParamResource):
|
|||
'TeamPermission': {
|
||||
'id': 'TeamPermission',
|
||||
'type': 'object',
|
||||
'description': 'Description of a user permission.',
|
||||
'description': 'Description of a team permission.',
|
||||
'required': True,
|
||||
'properties': {
|
||||
'role': {
|
||||
'type': 'string',
|
||||
'description': 'Visibility which the repository will start with',
|
||||
'description': 'Role to use for the team',
|
||||
'enum': [
|
||||
'read',
|
||||
'write',
|
||||
|
|
Reference in a new issue