You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2009/12/14 12:00:36 UTC

svn commit: r890270 - /subversion/trunk/notes/obliterate/design-authz.html

Author: julianfoad
Date: Mon Dec 14 11:00:35 2009
New Revision: 890270

URL: http://svn.apache.org/viewvc?rev=890270&view=rev
Log:
* notes/obliterate/design-authz.html
  Add an introduction that includes notes about other hooks.

Modified:
    subversion/trunk/notes/obliterate/design-authz.html

Modified: subversion/trunk/notes/obliterate/design-authz.html
URL: http://svn.apache.org/viewvc/subversion/trunk/notes/obliterate/design-authz.html?rev=890270&r1=890269&r2=890270&view=diff
==============================================================================
--- subversion/trunk/notes/obliterate/design-authz.html (original)
+++ subversion/trunk/notes/obliterate/design-authz.html Mon Dec 14 11:00:35 2009
@@ -46,6 +46,26 @@
 
 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 
+<div class="h2" id="introduction" title="#introduction">
+  <h2>Introduction</h2>
+
+  <p>Authorization is by a pre-obliterate hook which can base its decision on
+    the user name and the details of the attempted obliteration.</p>
+
+  <p>A post-obliterate hook will be available for reporting or other purposes,
+    analogous to the post-commit hook. This is not involved in authorization.
+    </p>
+
+  <p>Before a normal commit, two hooks are invoked: start-commit and
+    pre-commit, with only the list of files available to the first one and
+    the entire content of the change available to the second one. As
+    obliteration does not involve transmitting file contents, there is no
+    reason to have separate start-obliterate and pre-obliterate hooks.</p>
+
+</div>
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
 <div class="h2" id="pre-obliterate" title="#pre-obliterate">
   <h2>Pre-obliterate hook</h2>