Permalink
Browse files

Add support for cleaning repo permissions

  • Loading branch information...
1 parent 7893417 commit 83dc560b5fc8219dc4e7991ce975b5e87bd7fc62 @simonoff simonoff committed with wingrunr21 Sep 26, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/gitolite/config/repo.rb
@@ -15,6 +15,10 @@ def initialize(name)
@config = {}
end
+ def clean_permissions
+ @permissions = Array.new.push(@perm_hash_lambda.call)
+ end
+
def add_permission(perm, refex = "", *users)
if ALLOWED_PERMISSIONS.include? perm
#Handle deny rules

0 comments on commit 83dc560

Please sign in to comment.