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

[Feature Request] improved gitolite support: negative permissions for protected branches #414

Closed
wilsoc5 opened this Issue Apr 7, 2015 · 4 comments

Comments

Projects
None yet
4 participants
@wilsoc5
Copy link

wilsoc5 commented Apr 7, 2015

Negative permissions can be very handy to restrict access to certain tags or branches.
Gitolite documentation refers to it: http://gitolite.com/gitolite/conf.html#what-does-a-rule-look-like

Similarly, option support for "option deny-rules = 1" would be a nice add as well.

@wilsoc5

This comment has been minimized.

Copy link
Author

wilsoc5 commented Apr 7, 2015

It might be useful to also support the @ALL group for the users field in order to restrict read access to a particular repository for any additional users that get added to a project (Explicit permission as opposed to implicit permission).

@DProvorse

This comment has been minimized.

Copy link

DProvorse commented Apr 19, 2015

+1 for this. Definitely would be helpful!

@n-rodriguez n-rodriguez added this to the v1.2.0 milestone Jun 6, 2015

@lukemorel

This comment has been minimized.

Copy link

lukemorel commented Jun 29, 2015

+1, this is actually what I need !

n-rodriguez added a commit that referenced this issue Jul 5, 2015

@n-rodriguez

This comment has been minimized.

Copy link
Member

n-rodriguez commented Jul 5, 2015

Added in commit : 8f7e433

Example (from Gitolite):

repo    blibl
  RW+                            = redmine_admin
  -     master                   = redmine_developer1 redmine_developer2 redmine_developer3
  -     refs/tags/v[0-9]         = redmine_developer1 redmine_developer2
  RW+   dev/                     = redmine_developer1 redmine_developer2 redmine_developer3
  RW                             = redmine_developer1 redmine_developer2 redmine_developer3
  R                              = redmine_reporter1
  config redminegitolite.projectid = blibl
  config redminegitolite.repositoryid = 
  config redminegitolite.repositorykey = bMs2qj6sPl1ttTZJH5vWJOClIQ2V8ZhwK2d7Szy1CnSDX0EYzE7SuTgAnyrVS7b
  config http.uploadpack = true
  config http.receivepack = true
  config multimailhook.enabled = false
  option mirror.master = mars
  option mirror.slaves = phobos deimos
  option mirror.redirectOK = all

@n-rodriguez n-rodriguez closed this Jul 5, 2015

@n-rodriguez n-rodriguez removed the to study label Aug 27, 2015

@n-rodriguez n-rodriguez changed the title Feature Request: improved gitolite support: negative permissions for protected branches [Feature Request] improved gitolite support: negative permissions for protected branches Jan 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment