Code Monkey home page Code Monkey logo

Comments (18)

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
That would be big news !!!! 

Best regards

Reported by eguervos on 2012-01-30 20:35:31

from gitblit.

gitblit avatar gitblit commented on July 30, 2024
James,

Do you have any updates on this?

Thanks,

Drew

Reported by Drew.Kutcharian on 2012-04-28 20:33:40

from gitblit.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
Issue 437 has been merged into this issue.

Reported by James.Moger on 2012-10-03 19:36:16

from gitblit.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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.

monkiki avatar monkiki commented on July 30, 2024

Hi there!

Any news about this enhancement?

GitBlit is really great! Thanks!

from gitblit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.