mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +00:00
Remove unit types commits and settings (#2161)
* Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
This commit is contained in:
@@ -9,3 +9,9 @@
|
||||
user_id: 4
|
||||
repo_id: 4
|
||||
mode: 2 # write
|
||||
|
||||
-
|
||||
id: 3
|
||||
user_id: 4
|
||||
repo_id: 3
|
||||
mode: 2 # write
|
||||
|
@@ -10,7 +10,7 @@
|
||||
id: 2
|
||||
repo_id: 1
|
||||
type: 2
|
||||
index: 0
|
||||
index: 1
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
@@ -18,23 +18,23 @@
|
||||
id: 3
|
||||
repo_id: 1
|
||||
type: 3
|
||||
index: 0
|
||||
index: 2
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
-
|
||||
id: 4
|
||||
repo_id: 1
|
||||
type: 5
|
||||
index: 0
|
||||
type: 4
|
||||
index: 3
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
-
|
||||
id: 5
|
||||
repo_id: 1
|
||||
type: 7
|
||||
index: 0
|
||||
type: 5
|
||||
index: 4
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
id: 7
|
||||
repo_id: 3
|
||||
type: 2
|
||||
index: 0
|
||||
index: 1
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
@@ -58,22 +58,22 @@
|
||||
id: 8
|
||||
repo_id: 3
|
||||
type: 3
|
||||
index: 0
|
||||
index: 2
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
-
|
||||
id: 9
|
||||
repo_id: 3
|
||||
type: 5
|
||||
index: 0
|
||||
type: 4
|
||||
index: 3
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
||||
-
|
||||
id: 10
|
||||
repo_id: 3
|
||||
type: 7
|
||||
index: 0
|
||||
type: 5
|
||||
index: 4
|
||||
config: "{}"
|
||||
created_unix: 946684810
|
||||
|
@@ -6,7 +6,7 @@
|
||||
authorize: 4 # owner
|
||||
num_repos: 2
|
||||
num_members: 1
|
||||
unit_types: '[1,2,3,4,5,6,7,8,9]'
|
||||
unit_types: '[1,2,3,4,5,6,7]'
|
||||
|
||||
-
|
||||
id: 2
|
||||
@@ -16,7 +16,7 @@
|
||||
authorize: 2 # write
|
||||
num_repos: 1
|
||||
num_members: 2
|
||||
unit_types: '[1,2,3,4,5,6,7,8,9]'
|
||||
unit_types: '[1,2,3,4,5,6,7]'
|
||||
|
||||
-
|
||||
id: 3
|
||||
@@ -26,7 +26,7 @@
|
||||
authorize: 4 # owner
|
||||
num_repos: 0
|
||||
num_members: 1
|
||||
unit_types: '[1,2,3,4,5,6,7,8,9]'
|
||||
unit_types: '[1,2,3,4,5,6,7]'
|
||||
|
||||
-
|
||||
id: 4
|
||||
@@ -36,4 +36,4 @@
|
||||
authorize: 4 # owner
|
||||
num_repos: 0
|
||||
num_members: 1
|
||||
unit_types: '[1,2,3,4,5,6,7,8,9]'
|
||||
unit_types: '[1,2,3,4,5,6,7]'
|
||||
|
Reference in New Issue
Block a user