.:An Endless Journey:.
open source and me
  • Immutable Page
  • Info
  • Attachments

Subversion Notes

Subversion is simple and easy enough. There is a free book, google (redbook, svn).

Authorization in Subversion (mod_authz_svn)

Problems of mod_authz_svn:

  • Not flexible enough??

How can can grant permission such that,

  1. User A can list folders / files?
  2. Allow user to read by default and impose permission restriction with something like

  [main:/calc]
  joe = -rw

Not possible to grant permission in terms of Subversion operation: list, cat, checkout, log, diff. You can only grant permission in terms of 'read' and 'write'

Solutions (Workaround), I found that these config work!

  [/]
  all-devs = r

  [/project/abc]
  all-devs = 
  abc-devs = rw

No 'logging' for user operation (you cannot control who has checkout source).

The data structure of mod_authz_svn file is flat file, not structure file, not XML or other DB like structure, it is very hard to build new interface to ease the administartive task.