diff options
author | Lauris BH <lauris@nix.lv> | 2017-07-17 05:04:43 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-07-17 10:04:43 +0800 |
commit | f33e6ae09ec27e898bb8f2cc44d587ea3b8e0dee (patch) | |
tree | 2c6a268356fcb5fd73ee468055869b129b14c6ed /models/fixtures/repo_unit.yml | |
parent | 047a67a90b455a077e8b6f6deaad6b7ec4b50810 (diff) | |
download | gitea-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/repo_unit.yml')
-rw-r--r-- | models/fixtures/repo_unit.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/models/fixtures/repo_unit.yml b/models/fixtures/repo_unit.yml index daa3480189..02daa48277 100644 --- a/models/fixtures/repo_unit.yml +++ b/models/fixtures/repo_unit.yml @@ -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 |