summaryrefslogtreecommitdiffstats
path: root/models/access_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-4/+12
|
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-2/+2
| | | | | | | | | | * 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
* Refactor and fix incorrect comment (#1247)Ethan Koenig2017-03-151-8/+8
|
* Unit tests and bug fix for models/orgEthan Koenig2017-01-271-1/+1
|
* fix xorm NewSession uncorrected usages (#774)Lunny Xiao2017-01-281-12/+4
|
* Less boilerplate in models/ unit tests (#725)Ethan Koenig2017-01-251-17/+14
|
* Unit tests for models/action (#619)Ethan Koenig2017-01-091-14/+14
|
* Unit tests for models/access.go (#606)Ethan Koenig2017-01-081-0/+136