开发者

SVN User Configuration / Is it possible to have a user in SVN be able to update but not commit?

Is it possible to have a user in SVN be able to u开发者_如何学Cpdate but not commit?

I want to have someone be able to see code but not be able to commit.

Is this possible?


Yes. Depending on the SVN server access method (whether you use http:// or svn://, etc), you will need to configure stuff differently.

For Apache/httpd: http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz

For svnserve: http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.auth


You can set up particular users or groups with just 'read' access. This way, they still need to authenticate to get the code, but they can't commit anything.

@ryanprayogo provides the links to setting these permissions so I won't repeat them.


Yes -- it's called anonymous access. See the SVN book for more info on how to configure it (example configuration files are here)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜