[Feature] Hide Users and Orgs from public #1669

Closed
opened 2025-11-02 04:08:59 -06:00 by GiteaMirror · 16 comments
Owner

Originally created by @mmarif4u on GitHub (Apr 3, 2018).

Currently when require_sign_in is set to false, non logged in users can see all other users and organizations which in some cases may not be a good idea as some people may want to keep them private. Only show public repositories.

A setting in app.ini to enable/disable this would be nice feature to have.

Originally created by @mmarif4u on GitHub (Apr 3, 2018). Currently when `require_sign_in` is set to false, non logged in users can see all other users and organizations which in some cases may not be a good idea as some people may want to keep them private. Only show public repositories. A setting in app.ini to enable/disable this would be nice feature to have.
GiteaMirror added the type/featureissue/confirmed labels 2025-11-02 04:08:59 -06:00
Author
Owner

@adilinden commented on GitHub (Apr 3, 2018):

Yes, was looking for this too. Using organization to group repositories. Showing only organizations with public repos to to the un-logged-in would be a nice feature.

@adilinden commented on GitHub (Apr 3, 2018): Yes, was looking for this too. Using organization to group repositories. Showing only organizations with public repos to to the un-logged-in would be a nice feature.
Author
Owner

@NetOpWibby commented on GitHub (Apr 24, 2018):

I'm looking to transition to Gitea from my self-hosted GitLab instance and this is a feature that I miss. REQUIRE_SIGNIN_VIEW = true is nice but I'd like to have some public repos.

@NetOpWibby commented on GitHub (Apr 24, 2018): I'm looking to transition to Gitea from my self-hosted GitLab instance and this is a feature that I miss. `REQUIRE_SIGNIN_VIEW = true` is nice but I'd like to have _some_ public repos.
Author
Owner

@agaida commented on GitHub (May 27, 2018):

I would like private orgs too - somethings should stay private - and showing some empty organizations (because all repos are private/hidden isn't really helpful

@agaida commented on GitHub (May 27, 2018): I would like private orgs too - somethings should stay private - and showing some empty organizations (because all repos are private/hidden isn't really helpful
Author
Owner

@ghost commented on GitHub (Jun 3, 2018):

And hiding users/organizations with a template keeps them discoverable by trying URLs. I'd like to make my admin user or other sensitive users private and undiscoverable.

@ghost commented on GitHub (Jun 3, 2018): And hiding users/organizations with a template keeps them discoverable by trying URLs. I'd like to make my admin user or other sensitive users private and undiscoverable.
Author
Owner

@SoulSeekkor commented on GitHub (Oct 11, 2018):

I'd like to add a +1 to this, looking to switch from Bitbucket but need to be able to have organizations not show up for users that don't have permissions for repos in them first.

@SoulSeekkor commented on GitHub (Oct 11, 2018): I'd like to add a +1 to this, looking to switch from Bitbucket but need to be able to have organizations not show up for users that don't have permissions for repos in them first.
Author
Owner

@mcnesium commented on GitHub (Oct 12, 2018):

I run Gitea in Docker and have Apache proxy requests into the container. As a workaround to this issue, I set a proxy pass for gitea.domain/explore/ to the root of the container as well, which results in a 404 when the page is requested:

ProxyPass           /explore/  http://localhost:port/
ProxyPassReverse    /explore/  http://localhost:port/
ProxyPass           /          http://localhost:port/
ProxyPassReverse    /          http://localhost:port/

This of course results in noone being able to explore any of repos, users or organizations, not even logged in users, but that is ok for my own instance.

@mcnesium commented on GitHub (Oct 12, 2018): I run Gitea in Docker and have Apache proxy requests into the container. As a workaround to this issue, I set a proxy pass for `gitea.domain/explore/` to the root of the container as well, which results in a 404 when the page is requested: ProxyPass /explore/ http://localhost:port/ ProxyPassReverse /explore/ http://localhost:port/ ProxyPass / http://localhost:port/ ProxyPassReverse / http://localhost:port/ This of course results in noone being able to explore any of repos, users or organizations, not even logged in users, but that is ok for my own instance.
Author
Owner

@stale[bot] commented on GitHub (Jan 7, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 7, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@markg85 commented on GitHub (Jan 22, 2019):

Just to add a "me too".
Though personally i don't have a use for it. I can imagine people working for organisations where they prefer to keep it hidden but still organized. Thus having an option to mark an organization as private would be sane there.

@markg85 commented on GitHub (Jan 22, 2019): Just to add a "me too". Though personally i don't have a use for it. I can imagine people working for organisations where they prefer to keep it hidden but still organized. Thus having an option to mark an organization as private would be sane there.
Author
Owner

@SoulSeekkor commented on GitHub (Jan 24, 2019):

Yeah the fact that organizations show up for a user even though they have no permissions on any repos within it is keeping me from potentially switching over to soley using Gitea.

@SoulSeekkor commented on GitHub (Jan 24, 2019): Yeah the fact that organizations show up for a user even though they have no permissions on any repos within it is keeping me from potentially switching over to soley using Gitea.
Author
Owner

@stevoh6 commented on GitHub (Feb 12, 2019):

Hi, I was looking for this too. "Using organization to group repositories. Showing only organizations+users with public repos to to the un-logged-in" would be a nice feature. We would like to have some hidden organizations/users with private repos together with some public organizations/users/repos.

@stevoh6 commented on GitHub (Feb 12, 2019): Hi, I was looking for this too. "Using organization to group repositories. Showing only organizations+users with public repos to to the un-logged-in" would be a nice feature. We would like to have some hidden organizations/users with private repos together with some public organizations/users/repos.
Author
Owner

@lunny commented on GitHub (Feb 28, 2019):

Private organization has been implemented and merged into master.

@lunny commented on GitHub (Feb 28, 2019): Private organization has been implemented and merged into master.
Author
Owner

@markg85 commented on GitHub (Feb 28, 2019):

It apparently is this commit: 64ce159a6e

Someone should probably close this issue.

@markg85 commented on GitHub (Feb 28, 2019): It apparently is this commit: https://github.com/go-gitea/gitea/commit/64ce159a6eacc81962d07a8f5ef7f69c17365363 Someone should probably close this issue.
Author
Owner

@stevoh6 commented on GitHub (Feb 28, 2019):

Hi all, I updated gitea to newest version and do some testing. Repositories are fine, they are hidden, but even I setup correct config settings (FORCE_PRIVATE = true, DEFAULT_PRIVATE = private, DEFAULT_ORG_VISIBILITY = private) Users and organization are still visible even the new one.
There isnt also any setting regarding Users. Repositories working fine. Should I create defect, or I missing something?

Edit: it will be in 1.8.x ?

@stevoh6 commented on GitHub (Feb 28, 2019): Hi all, I updated gitea to newest version and do some testing. Repositories are fine, they are hidden, but even I setup correct config settings (FORCE_PRIVATE = true, DEFAULT_PRIVATE = private, DEFAULT_ORG_VISIBILITY = private) Users and organization are still visible even the new one. There isnt also any setting regarding Users. Repositories working fine. Should I create defect, or I missing something? Edit: it will be in 1.8.x ?
Author
Owner

@lafriks commented on GitHub (Apr 8, 2019):

@stevoh6 private organization option will be in 1.8.0

Users will still be visible to all

@lafriks commented on GitHub (Apr 8, 2019): @stevoh6 private organization option will be in 1.8.0 Users will still be visible to all
Author
Owner

@brallow commented on GitHub (Jun 12, 2019):

I need that too.
I need a git server which collaborate with 2 or more different organizations. They should NOT to see each other (including their org/repo) at all.

@brallow commented on GitHub (Jun 12, 2019): I need that too. I need a git server which collaborate with 2 or more different organizations. They should NOT to see each other (including their org/repo) at all.
Author
Owner

@sapk commented on GitHub (Jun 12, 2019):

@brallow this should be available in the 1.8.0+ versions. You can try the latest stable version : https://github.com/go-gitea/gitea/releases/tag/v1.8.2

@sapk commented on GitHub (Jun 12, 2019): @brallow this should be available in the 1.8.0+ versions. You can try the latest stable version : https://github.com/go-gitea/gitea/releases/tag/v1.8.2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1669