"Make Repository Private" option should be moved into the "Danger Zone" settings area #10565

Closed
opened 2025-11-02 09:11:25 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @alystair on GitHub (Mar 30, 2023).

Originally assigned to: @fabiobarkoski on GitHub.

Feature Description

Changing the visibility of a repo is a non-trivial decision after creation as it can affect many users and has potential knock-on effects.

Screenshots

Gitea
Current Gitea implementation

GitHub
GitHub

Originally created by @alystair on GitHub (Mar 30, 2023). Originally assigned to: @fabiobarkoski on GitHub. ### Feature Description Changing the visibility of a repo is a non-trivial decision after creation as it can affect many users and has potential knock-on effects. ### Screenshots Gitea ![Current Gitea implementation](https://user-images.githubusercontent.com/159109/228931179-9a12468b-11f7-4f87-a754-f58f04e48d1b.png) GitHub ![GitHub](https://user-images.githubusercontent.com/159109/228931072-0254c57c-e51d-4fc5-8e40-1ea0df43d4ee.png)
Author
Owner

@fabiobarkoski commented on GitHub (May 23, 2024):

Can I work on this issue, or it was solved?

@fabiobarkoski commented on GitHub (May 23, 2024): Can I work on this issue, or it was solved?
Author
Owner

@lunny commented on GitHub (May 23, 2024):

Can I work on this issue, or it was solved?

Sure. And this hasn't been resolved.

@lunny commented on GitHub (May 23, 2024): > Can I work on this issue, or it was solved? Sure. And this hasn't been resolved.
Author
Owner

@fabiobarkoski commented on GitHub (May 25, 2024):

Reading the code, it seems that a user can change repo visibility. If so, isn't it better that only admins can change the visibility?

@fabiobarkoski commented on GitHub (May 25, 2024): Reading the code, it seems that a user can change repo visibility. If so, isn't it better that only admins can change the visibility?
Author
Owner

@lunny commented on GitHub (May 25, 2024):

Reading the code, it seems that a user can change repo visibility. If so, isn't it better that only admins can change the visibility?

Yes, I think the permissions have been checked. We just need frontend changes.

@lunny commented on GitHub (May 25, 2024): > Reading the code, it seems that a user can change repo visibility. If so, isn't it better that only admins can change the visibility? Yes, I think the permissions have been checked. We just need frontend changes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10565