mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
69a255defb
* Add team permission setting to allow creating repo in organization. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add test case for creating repo when have team creation access. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * build error: should omit comparison to bool constant Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add comment on exported functions * Fix fixture consistency, fix existing unit tests * Fix boolean comparison in xorm query. * addCollaborator and changeCollaborationAccessMode separate steps More clear to use different if-cases. * Create and commit xorm session * fix * Add information of create repo permission in team sidebar * Add migration step * Clarify that repository creator will be administrator. * Fix some things after merge * Fix language text that use html * migrations file * Create repository permission -> Create repositories * fix merge * fix review comments
119 lines
1.6 KiB
YAML
119 lines
1.6 KiB
YAML
-
|
|
id: 1
|
|
org_id: 3
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 3
|
|
num_members: 1
|
|
|
|
-
|
|
id: 2
|
|
org_id: 3
|
|
lower_name: team1
|
|
name: team1
|
|
authorize: 2 # write
|
|
num_repos: 1
|
|
num_members: 2
|
|
|
|
-
|
|
id: 3
|
|
org_id: 6
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 0
|
|
num_members: 1
|
|
|
|
-
|
|
id: 4
|
|
org_id: 7
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 0
|
|
num_members: 1
|
|
|
|
-
|
|
id: 5
|
|
org_id: 17
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 2
|
|
num_members: 2
|
|
|
|
-
|
|
id: 6
|
|
org_id: 19
|
|
lower_name: owners
|
|
name: Owners
|
|
authorize: 4 # owner
|
|
num_repos: 2
|
|
num_members: 1
|
|
|
|
-
|
|
id: 7
|
|
org_id: 3
|
|
lower_name: test_team
|
|
name: test_team
|
|
authorize: 2 # write
|
|
num_repos: 1
|
|
num_members: 1
|
|
|
|
-
|
|
id: 8
|
|
org_id: 17
|
|
lower_name: test_team
|
|
name: test_team
|
|
authorize: 2 # write
|
|
num_repos: 1
|
|
num_members: 1
|
|
|
|
-
|
|
id: 9
|
|
org_id: 17
|
|
lower_name: review_team
|
|
name: review_team
|
|
authorize: 1 # read
|
|
num_repos: 1
|
|
num_members: 1
|
|
|
|
-
|
|
id: 10
|
|
org_id: 25
|
|
lower_name: notowners
|
|
name: NotOwners
|
|
authorize: 1 # owner
|
|
num_repos: 0
|
|
num_members: 1
|
|
|
|
-
|
|
id: 11
|
|
org_id: 26
|
|
lower_name: team11
|
|
name: team11
|
|
authorize: 1 # read
|
|
num_repos: 0
|
|
num_members: 0
|
|
|
|
-
|
|
id: 12
|
|
org_id: 3
|
|
lower_name: team12creators
|
|
name: team12Creators
|
|
authorize: 3 # admin
|
|
num_repos: 0
|
|
num_members: 1
|
|
can_create_org_repo: true
|
|
|
|
-
|
|
id: 13
|
|
org_id: 6
|
|
lower_name: team13notcreators
|
|
name: team13NotCreators
|
|
authorize: 3 # admin
|
|
num_repos: 0
|
|
num_members: 1
|
|
can_create_org_repo: false
|