Add a description field to teams.
This commit is contained in:
parent
7991c3eff8
commit
ac71822352
4 changed files with 7 additions and 4 deletions
|
@ -156,7 +156,8 @@ if __name__ == '__main__':
|
|||
'Repository owned by an org.', False,
|
||||
[], (4, [], ['latest', 'prod']))
|
||||
|
||||
reader_team = model.create_team('Readers', org, 'member')
|
||||
reader_team = model.create_team('readers', org, 'member',
|
||||
'Readers of orgrepo.')
|
||||
model.set_team_repo_permission(reader_team.name, org_repo.namespace,
|
||||
org_repo.name, 'read')
|
||||
model.add_user_to_team(new_user_2, reader_team)
|
||||
|
|
Reference in a new issue