gitea/routers/private
Lunny Xiao da0460dea0
Prevent git operations for inactive users (#13527) (#13537)
* prevent git operations for inactive users

* Some fixes

* Deny push to the repositories which's owner is inactive

* deny operations also when user is ProhibitLogin

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-11-13 10:51:32 +08:00
..
hook.go Git 2.28 no longer permits diff with ... on unrelated branches (#12370) 2020-07-29 12:42:22 -04:00
internal.go Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
key.go AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -05:00
manager.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager_unix.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
manager_windows.go Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
serv.go Prevent git operations for inactive users (#13527) (#13537) 2020-11-13 10:51:32 +08:00