Commit Graph

7 Commits (46d19c4676efe5201c5de790bcb963bfc93a95c7)

Author SHA1 Message Date
Lauris BH f33e6ae09e Remove unit types commits and settings ()
* 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
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment ()
Ethan Koenig a2412492da Unit tests and bug fix for models/org
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages ()
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests ()
Ethan Koenig 4b23e6a694 Unit tests for models/action ()
Ethan Koenig 6072b03291 Unit tests for models/access.go ()