Daniel Kivatinos
Daniel Kivatinos

Reputation: 25046

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 update but not commit?

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

Is this possible?

Upvotes: 1

Views: 529

Answers (3)

Babak Naffas
Babak Naffas

Reputation: 12581

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.

Upvotes: 2

ryanprayogo
ryanprayogo

Reputation: 11837

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

Upvotes: 4

Jeff Ames
Jeff Ames

Reputation: 2044

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

Upvotes: 2

Related Questions