1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/routers/private
Lunny Xiao ee0097f97d
Prevent git operations for inactive users (#13527) (#13536)
* 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 09:28:32 +08:00
..
hook.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
internal.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
key.go AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -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
manager.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
serv.go Prevent git operations for inactive users (#13527) (#13536) 2020-11-13 09:28:32 +08:00