versioncontrol:accesscontrollists

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
versioncontrol:accesscontrollists [2006/10/18 15:59] – Add section on the acl.py extension to Hg. OllivierRobertversioncontrol:accesscontrollists [2022/10/07 01:49] (current) – Move bakeoff stuff under a single namespace KubilayKocak
Line 6: Line 6:
  
 ===== SVN Implementation ===== ===== SVN Implementation =====
 +
 +There are two ways to do this in Subversion.
 +
 +The first is to implement ACLs in whatever application is providing access to the repository over the network.  For example, you can use Apache ACLs to control access to certain parts of the tree.
 +
 +Alternatively, you can use a pre-commit-hook script.  Run by Subversion prior to every commit, this script can determine the paths that are being affected by the commit, who the authenticated committer is, the contents of the log message, and so on.  This allows you to put in place more complex ACLs than those permitted by the first approach.  For example "Anyone in the 'mentee' group must have an 'Approved by:' line in the commit message.
  
 ===== Hg Implementation ===== ===== Hg Implementation =====
Line 14: Line 20:
 Access control to these will be controlled by an HTTP server (the preferred way of publishing) thus will use the server way of authencating access. Access control to these will be controlled by an HTTP server (the preferred way of publishing) thus will use the server way of authencating access.
  
-For the reference trees, I'd expect the ["Patch Queue Manager"] to deal with write access.+For the reference trees, I'd expect the [[/Patch_Queue_Manager|Patch_Queue_Manager]] to deal with write access.
  
-An acl extension was added recently to Hg.  It allows for selected part for a given repository to filter what will be accepted when considering incoming changesets.  See [http://www.selenic.com/hg/file/fcf14d87e0a4/hgext/acl.py there] for details.+An acl extension was added recently to Hg.  It allows for selected part for a given repository to filter what will be accepted when considering incoming changesets.  See [[http://www.selenic.com/hg/file/fcf14d87e0a4/hgext/acl.py|there]] for details.
  
 ===== Git Implementation ===== ===== Git Implementation =====
 +
 +Git includes a hook that can be used for doing ACLs.
  
 ===== Monotone Implementation ===== ===== Monotone Implementation =====
 **Partially Supported** **Partially Supported**
  
-A single ["Monotone"] database can contain any number of branches, revisions and files. A server (or any user) can serve any subset of the branches contained in his database. Read/write-permissions are currently managed using [http://venge.net/monotone/docs/Hooks.html Lua hooks] (specifically ''%%get_netsync_read_permitted (branch, identity)%%'' and ''%%get_netsync_write_permitted (identity)%%''), or using the default hooks that are based on two permission files.+A single [[/Monotone|Monotone]] database can contain any number of branches, revisions and files. A server (or any user) can serve any subset of the branches contained in his database. Read/write-permissions are currently managed using [[http://venge.net/monotone/docs/Hooks.html|Lua hooks]] (specifically ''%%get_netsync_read_permitted (branch, identity)%%'' and ''%%get_netsync_write_permitted (identity)%%''), or using the default hooks that are based on two permission files.
  
 A fully featured ACL system (branch-based policy restrictions and much more) is in the works and will be available "soon". A fully featured ACL system (branch-based policy restrictions and much more) is in the works and will be available "soon".
  
  • versioncontrol/accesscontrollists.1161187162.txt.gz
  • Last modified: 2006/10/18 15:59
  • by OllivierRobert