aboutsummaryrefslogtreecommitdiffstats
path: root/models/perm
Commit message (Expand)AuthorAgeFilesLines
* Remove GetByBean method because sometimes it's danger when query condition pa...Lunny Xiao2023-12-071-2/+6
* Even more `db.DefaultContext` refactor (#27352)JakobDev2023-10-031-7/+7
* make writing main test easier (#27270)Lunny Xiao2023-09-281-4/+1
* move repository deletion to service layer (#26948)Lunny Xiao2023-09-081-0/+2
* some less naked returns (#25682)65432023-07-041-19/+21
* Rewrite logger system (#24726)wxiaoguang2023-05-212-43/+21
* Rename `repo.GetOwner` to `repo.LoadOwner` (#22967)yp053272023-02-183-10/+10
* Rename almost all Ctx functions (#22071)Lunny Xiao2022-12-101-1/+1
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-032-2/+2
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-275-10/+5
* Add `context.Context` to more methods (#21546)KN4CK3R2022-11-192-15/+11
* Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)delvh2022-10-241-9/+9
* Move some files into models' sub packages (#20262)Lunny Xiao2022-08-252-249/+14
* Refactor AssertExistsAndLoadBean to use generics (#20797)Lunny Xiao2022-08-161-34/+34
* Store read access in access for team repo's (#20275)Gusted2022-07-111-1/+7
* Add more linters to improve code readability (#19989)Wim2022-06-201-1/+1
* Move tests as seperate sub packages to reduce duplicated file names (#19951)Lunny Xiao2022-06-152-38/+278
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-202-23/+12
* Move access and repo permission to models/perm/access (#19350)Lunny Xiao2022-05-114-0/+842
* Team permission allow different unit has different permission (#17811)Lunny Xiao2022-01-051-1/+3
* Move accessmode into models/perm (#17828)Lunny Xiao2021-11-281-0/+61