Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'protected' option for repository visibility #2308

Quent42340 opened this Issue Dec 30, 2015 · 4 comments


5 participants
Copy link

Quent42340 commented Dec 30, 2015

I thought it could be useful to add a 'protected' option, allowing registered users to see the repository but not non-registered users.


This comment has been minimized.

Copy link

Dasoren commented Dec 30, 2015

You can kinda do this now by forcing anyone to have to login to see anything on the site. Require Sign In View is the option. But this would be true for all repos and if you are not registered on the site you would not be able to see anything.

I understand that this is not what you are looking for but it might be a start for now till this is but in.

I would also like to +1 this idea.

An option to protect the repo from non-registered users, But not private a repo.
On a private repo, only people listed on the repo could see it.
On a protected repo, any registered user could see it, but non-registered users could not.
On a public repo, any user could see it.


This comment has been minimized.

Copy link

Quent42340 commented Dec 30, 2015

I was aware of this option, but some of my repositories must be public :/

@Unknwon Unknwon added this to the 0.10.0 milestone Dec 31, 2015

@Unknwon Unknwon removed this from the 0.10.0 milestone Feb 7, 2016


This comment has been minimized.

Copy link

hamaluik commented Mar 5, 2016

+1 million


This comment has been minimized.

Copy link

megaknoc commented Jul 2, 2016


As the private / protected / public behaviour is exclusive I would change from using a checkbox for the two option to a combobox for choosing one of the three options.

@Unknwon Unknwon modified the milestones: 0.11, 0.12 Mar 7, 2017

@Unknwon Unknwon referenced this issue Mar 31, 2018


Support for internal visibility like gitlab? #5121

1 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.