[PR #3887] [MERGED] Do not allow inactive users to access repositories using private keys #17126

Closed
opened 2025-11-02 12:26:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3887
Author: @lafriks
Created: 5/2/2018
Status: Merged
Merged: 5/2/2018
Merged by: @lafriks

Base: masterHead: fix/ssh_inactive_user


📝 Commits (3)

  • 85a1e3b Do not allow inactive users to access repositories using private keys
  • b37dc4f Check also that user does not have prohibit login set
  • 9cb8e1c Fix typo

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 cmd/serv.go (+6 -0)

📄 Description

Currently when disabling user he can still access repository using his private key when cloning/pushing using SSH


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3887 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 5/2/2018 **Status:** ✅ Merged **Merged:** 5/2/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix/ssh_inactive_user` --- ### 📝 Commits (3) - [`85a1e3b`](https://github.com/go-gitea/gitea/commit/85a1e3b653933606b9f829980c12aa43f149cfda) Do not allow inactive users to access repositories using private keys - [`b37dc4f`](https://github.com/go-gitea/gitea/commit/b37dc4f7ea2539ab0b83f051076f97583f2cdbd6) Check also that user does not have prohibit login set - [`9cb8e1c`](https://github.com/go-gitea/gitea/commit/9cb8e1cb11d333c2fbfbda46c3abb90e60b98e27) Fix typo ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/serv.go` (+6 -0) </details> ### 📄 Description Currently when disabling user he can still access repository using his private key when cloning/pushing using SSH --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:26:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17126