How to Disable the Checkout access to the users in svn

667 views Asked by At

How can i enable the checkout option for the administrator and not for the users. my need is the users only have the right of importing the files but they should not have the right of checking out the files from the repository. am very thankful to you if u people help me in this task.

thanks in advance,

prasad

2

There are 2 answers

0
Ben On BEST ANSWER

If for some reason you insist on using SVN for your exam turn-in, then I guess I would suggest:

  1. Create a folder for each student. Maybe even per student, per assignment.
  2. Give each student full access (read-write) but ONLY to their own folder.
  3. If needed, install a pre-commit server-side hook to disallow any modifications, only allowing "add" operations.

But I still think SVN is the wrong tool for the job.

0
Lazy Badger On

You can't have Write permissions (importing to repo is writing) without Read permissions. Three possible types of access for repository are only NONE|READ|READWRITE