Skip to content

Specify default access restriction #384

Description

@gitblit

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions