I have created a repository and checked the Anonymous check box. However when I try to access it the repository link directly with no login, I was redirected to the login page. Anyone can help on this? Many thanks.
Bonobo-Git-Server anonymous access to a repository
346 views Asked by Terry At
1
I have the same issue. After seeing no answers to your question I fired up the source code and started debugging. My conclusion is this is not supported.
The action methods are decorated with
WebAuthorize
, a custom attribute that inherits from the usualAuthorizeAttribute
.Unfortunately, the base
AuthorizeAttribute
returns anHttpUnauthorizedResult
for anonymous users and so it doesn't appear to be able to use this software without being logged in. Which regretfully is kind of pointless as I want anonymous access and don't want user account registration to be enabled or required.Short of changing the source code, this doesn't seem to be possible. Back to the drawing board...