English 中文(简体)
gitolits允许未经授权的用户
原标题:gitolite allows unauthorized user
  • 时间:2012-04-19 11:26:08
  •  标签:
  • git
  • gitolite

I have configured a repository and a group of users.
I have given read access for that repository to the group.

But when I logged in as a user who is not there in the group I am able to read the repository.
It lists that repository in the gitweb. Why it is behaving like this?

@all    = ganeshkumar hariharasubramanian karthigayan kiruthika kuppusamy lakshmanan manojkumar nvivek sathishkumar savithri thangappan thillaiselvan vennila
repo    gitolite-admin
        RW+     =   thillaiselvan

repo    test/thillaiselvan
        RW+     =   thillaiselvan
        R       =   @all

repo    others/admin_testing
                RW+             =   root nagalenoj thillaiselvan
最佳回答

@all不是有效集团的名称。

It is a special group allowing any user access to a repo (including special user gitweb by the way).
See Gitolite V3 (or g3 ) documentation (still valid for a Gitolite V2):
"group definitions"

special group @all

@all是一个特殊群体名称,如果你真的指“所有重新定位”或“所有用户”,则往往方便使用。

换言之,这并不是你定义的集团。

@all    = user1 user2 ...

It would be ignored. Adding @all to a repo means any user, even one not listed in the above definition, is granted access to said repo.

问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签