summaryrefslogtreecommitdiffstats
path: root/models/fixtures/team.yml
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-07-17 05:04:43 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-07-17 10:04:43 +0800
commitf33e6ae09ec27e898bb8f2cc44d587ea3b8e0dee (patch)
tree2c6a268356fcb5fd73ee468055869b129b14c6ed /models/fixtures/team.yml
parent047a67a90b455a077e8b6f6deaad6b7ec4b50810 (diff)
downloadgitea-f33e6ae09ec27e898bb8f2cc44d587ea3b8e0dee.tar.gz
gitea-f33e6ae09ec27e898bb8f2cc44d587ea3b8e0dee.zip
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
Diffstat (limited to 'models/fixtures/team.yml')
-rw-r--r--models/fixtures/team.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/fixtures/team.yml b/models/fixtures/team.yml
index 1b2a0d6811..795d5cda6c 100644
--- a/models/fixtures/team.yml
+++ b/models/fixtures/team.yml
@@ -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]' \ No newline at end of file
+ unit_types: '[1,2,3,4,5,6,7]'