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

Specify default access restriction #384

Closed
gitblit opened this issue Aug 12, 2015 · 3 comments
Closed

Specify default access restriction #384

gitblit opened this issue Aug 12, 2015 · 3 comments

Comments

@gitblit
Copy link
Owner

@gitblit gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 88

I would like to mention the following:
Most of the repositories are accessed via ssh and authorisation is managed by unix
groups. Some repositories we want to control access to with GitBlit. If I configure
the gitblit instance to work on the complete git tree (repositoriesFolder = /data/git)
and I set enableGitServlet to true, all repositories are accessible by default via
http(s). 

I would like an option to block clone, push and/or view access by default for repositories
not configured using gitblit (basically: use a default 'access restriction' when none
is specified)

Currently we run two instances as workaround: 
- One for view only access (as a browser) allowing easy navigation through the repositories.
A single account suffices for this. There is no (easy) way to download the sources
this way (ssh is used with unix group restriction).
- One for gitblit managed access control, working only on a subtree of the repositoriesFolder
containing repositories which are configured by gitblit to have an owner and access
permissions.

A second workaround would be to configure all repositories manually by setting access
restrictions, since it does not seem to interfere with ssh access until you change
unix file permissions.

Reported by lemval on 2012-04-18 06:43:18

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Specifying a default access restriction is a reasonable request.

Reported by James.Moger on 2012-04-22 20:28:07

  • Status changed: Accepted
  • Labels added: Milestone-1.0.0

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Reported by James.Moger on 2012-06-06 21:22:01

  • Status changed: Queued

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Resolved in v1.0.0.

Reported by James.Moger on 2012-07-14 04:44:17

  • Status changed: Done

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix added this to the 1.0.0 milestone Dec 13, 2016
@flaix flaix added this to the 1.0.0 milestone Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants