Search code examples
svnsvn-administraton

How to Disable the Checkout access to the users in svn


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


Solution

  • 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.