Port over tokens.

This commit is contained in:
jakedt 2014-03-14 13:24:01 -04:00
parent 3d4ece31f3
commit cd276773ff
4 changed files with 147 additions and 10 deletions

View file

@ -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',