Skip to content

Commit

Permalink
change $GL_WILDREPOS_PERM_CATS settings to add more custom roles
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxin committed Nov 25, 2011
1 parent 9333a9a commit 07fc65b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 05-git-server/040-gitolite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,13 @@ Gitolite 的授权非常强大也很复杂,因此从版本库授权的实际
READERS dev2 dev3
WRITERS jiangxin

如果在用户自定义授权中需要使用 ``READERS`` 和 ``WRITERS`` 之外的角色,管理员可以通过修改 :file:`gitolite.rc` 文件中的变量 ``$GL_WILDREPOS_PERM_CATS`` 实现。该变量的默认设置如下:

::

$GL_WILDREPOS_PERM_CATS = "READERS WRITERS";


传统模式的引用授权
----------------------

Expand Down

0 comments on commit 07fc65b

Please sign in to comment.