Comments (18)
Agreed. A proof-of-concept blockpush mechanism exists in my master branch. After the
next release I am going to play with implementing gitosis/gitolite-like functionality
possibly re-using gitosis/gitolite configuration files.
Reported by James.Moger
on 2012-01-06 18:42:18
from gitblit.
That would be big news !!!!
Best regards
Reported by eguervos
on 2012-01-30 20:35:31
from gitblit.
James,
Do you have any updates on this?
Thanks,
Drew
Reported by Drew.Kutcharian
on 2012-04-28 20:33:40
from gitblit.
Not currently. I keep meaning to find the time to implement something, but so far no
luck. What needs do you have? That could help me pin down a spec rather than "remake
gitolite".
Reported by James.Moger
on 2012-04-28 23:32:01
from gitblit.
Restricting pushes to a branch. For example only a certain user/group can push commits
to a certain branch.
Use case: Everyone can push to master but only the team lead can push to production
after peer review.
Reported by Drew.Kutcharian
on 2012-04-29 00:10:54
from gitblit.
You could do this today with the protect-refs.groovy hook script.
https://github.com/gitblit/gitblit/blob/master/groovy/protect-refs.groovy
Reported by James.Moger
on 2012-04-29 20:10:54
from gitblit.
Thanks James. protect-refs.groovy should be good for now, but I think it'd be nicer
to eventually have this functionality in the UI too.
Reported by Drew.Kutcharian
on 2012-04-30 16:51:15
from gitblit.
We have a requirement to allow authenticated read-only access for some users. Specifically,
having some users that are able to log in to the UI (or use a git client) to view the
contents, logs, etc of a specific repo, but not be able to push any changes there.
Reported by peterloron
on 2012-09-10 23:58:11
from gitblit.
For the time-being you can use a pre-receive hook to block any pushes.
Reported by James.Moger
on 2012-09-11 11:59:08
from gitblit.
Hi James,
You wrote:
After the next release I am going to play with implementing gitosis/gitolite-like functionality
possibly re-using gitosis/gitolite configuration files.
It's great! But gitosis' configuration is too poor - use gitolite.
The great example of restrictions configuration is svnserve configuration file. Gitolite's
configuration file format is just as SVN's one - they have required flexibility.
With best regards, Mikhail
Reported by 2sh2ka
on 2012-09-17 19:18:28
from gitblit.
access rules
http://sitaramc.github.com/gitolite/rules.html
R, for read only
RW, for push existing ref or create new ref
RW+, for "push -f" or ref deletion allowed (i.e., destroy information)
- (the minus sign), to deny access.
access rules for branches
http://sitaramc.github.com/gitolite/refex.html
Reported by marcomsousa
on 2012-09-20 21:59:49
from gitblit.
I think that this should be supported right now.
Authenticated Clone & Push non-force (without push -f)
Reported by marcomsousa
on 2012-09-20 22:02:20
from gitblit.
Issue 437 has been merged into this issue.
Reported by James.Moger
on 2012-10-03 19:36:16
from gitblit.
I see this commit:
"Finer-grained repository access permissions (issue 332)"
It's really nice.
Thank you very much
Reported by marcomsousa
on 2012-10-10 06:33:23
from gitblit.
Thanks. I'm not quite finished with changes to permissions, but this is definitely
an improvement.
Reported by James.Moger
on 2012-10-10 11:43:53
from gitblit.
At the moment I have two repos, to mantain the master branch safe.
It would be lot more easier if the gitblit implements some more advanced permisions.
Branch, like in gitolite:
http://gitolite.com/gitolite/rules.html#what-do-rules-look-like
http://gitolite.com/gitolite/refex.html
http://gitolite.com/gitolite/vref.html
This is in yours plans?
Reported by marcomsousa
on 2014-06-17 07:45:31
from gitblit.
I may add something very simple, but I haven't thought about it too much.
More complex ACLs...
1. can be contributed to the core by the community
2. can be written as a Groovy receive hook script
3. can be written as a receive hook plugin
My preference is for someone to attempt #3 - a gitolite-ish receive hook plugin.
Reported by James.Moger
on 2014-06-17 12:17:26
from gitblit.
Hi there!
Any news about this enhancement?
GitBlit is really great! Thanks!
from gitblit.
Related Issues (20)
- Error when using ssh clone repository HOT 1
- Can not disable Gravatar in issue page HOT 1
- Garbled code in the comparison page with interface set to Simplified Chinese HOT 2
- Translation of fork as "分支" in Chinese has ambiguity HOT 3
- Maven artifacts are inaccessible HOT 1
- close() called when useCnt is already zero HOT 2
- docker run error N ] Illegal character 0x16 in state=START for buffer HOT 9
- failed to generate gitblit ca certificte HOT 2
- Many vulnerabilies HOT 1
- Support SSH with ED25519-key HOT 4
- How can I specify the JDK version when Gitblit Starts? HOT 2
- Make code IntelliJ friendly? HOT 3
- Let non-admin user create nested repository groups
- Cannot view private repositories
- Missleading message "You have already merged this patchset." when attempting to push ticket patchest branch without any commit on it.
- Ignore whitespace changes -- no config on Server side?
- A gift, an android platform solution for gitblit. PR too troublesome.
- Possible corruption of user.conf
- When ssh clones more than 2G libraries, "Cannot upload pack:" appears.
- Please Check Your Email Regarding a Security Vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitblit.