GitLab provides a special type of local users called "external users". The current version of GitLab's documentation descibes this role as follows:
In cases where it is desired that a user has access only to some internal or private projects, there is the option of creating External Users. This feature may be useful when for example a contractor is working on a given project and should only have access to that project.
External users can only access projects to which they are explicitly granted access, thus hiding all other internal or private ones from them. Access can be granted by adding the user as member to the project or group.
They will, like usual users, receive a role in the project or group with all the abilities that are mentioned in the table above. They cannot however create groups or projects, and they have the same access as logged out users in all other cases.
This type of user is particulary useful when the Gitea instance is private and a guest/external user should access only specific repositories while the rest is hidden. Currently (as of version 1.4.3) local users can see other repositories when they use the "Explore" functionality even if they are not part of any organization or added as collaborator to these repositories.
Remaining tasks:
Such a feature would be very useful to any organization using gitea internally with the need to give customers access to their projects.
I propose introducing a new user flag called "IsRestricted", presented as another checkbox in the user admin pages.
A restricted user's view would be limited to:
To put it another way, a restricted user would simply not see or be able to access anything public.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
How close is this to be done?
It is done (#6274)
Most helpful comment
Such a feature would be very useful to any organization using gitea internally with the need to give customers access to their projects.
I propose introducing a new user flag called "IsRestricted", presented as another checkbox in the user admin pages.
A restricted user's view would be limited to:
To put it another way, a restricted user would simply not see or be able to access anything public.