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:
Lauris BH authored and Lunny Xiao committed 2017-07-17 10:04:43 +08:00
1 parent 047a67a90b
commit f33e6ae09e
20 files changed
+174 -104

No files matched your search

+6
View File
@@ -9,3 +9,9 @@
user_id: 4
repo_id: 4
mode: 2 # write
-
id: 3
user_id: 4
repo_id: 3
mode: 2 # write