[Other doc versions]
[Doc downloads (PDF, HTML, XML)]
You can open up public access for anonymous (unauthenticated) users to projects and repositories in Stash. This allows you to:
Public access allows anonymous users to browse the files, pull requests and commits for a specific repository or an entire project, and to clone repositories, without needing to log in, or have an account in Stash.
In Stash, you can:
On this page:
Related pages:
You can open up a specific repository for public (anonymous) access.
You need admin permission for the repository.
Go to the repository and click Settings, then Repository (under 'Permissions'). Check Enable (under 'Public Access') to allow users without a Stash account to clone and browse the repository.
You can open up a whole project (but not a private project) for public (anonymous) access.
You need admin permission for the project.
Go to the project and choose Settings, then Permissions. Check Enable (under 'Public Access') to allow users without a Stash account to clone and browse any repository in the project.
Stash displays a list of repositories for which anonymous access has been enabled.
Anonymous and logged-in users can choose Repositories > View all public repositories to see these.
Stash provides a system property that allows you to turn off public access for the whole instance.
To do this, set the feature.public.access
property to false in the stash.config.properties
file in your Stash home directory.