diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-09-06 10:59:20 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-09-06 10:59:20 +0300 |
commit | 61a90bb136035b1364c52b5bfed6a807dc7d75ca (patch) | |
tree | 28c2c79b7bd31f3de9502bc1bf1cf37f4260df63 | |
parent | ea8c8114dfbf9c4eabd84168c39854fe2abf2ea7 (diff) | |
download | assignments-61a90bb136035b1364c52b5bfed6a807dc7d75ca.tar.gz assignments-61a90bb136035b1364c52b5bfed6a807dc7d75ca.tar.bz2 |
Document the gitacl schema
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | gitacl.schema | 56 | ||||
-rw-r--r-- | gray-assignments.texi | 34 |
4 files changed, 92 insertions, 5 deletions
@@ -8 +8,4 @@ TALLYMAN-MIB.txt gray-assignments +.emacs.desktop +.emacs.desktop.lock +version.texi @@ -1,2 +1,2 @@ -SCHEMES = gray.scheme umi.scheme +SCHEMES = gray.schema gitacl.schema umi.schema MIBS = OWS-STATS.txt SESSION-STATS.txt @@ -4,3 +4,3 @@ REFMIBS = TALLYMAN-MIB.txt MYSQL-STAT-MIB.txt SENDMAIL-STATS.txt -TEXINFO_SOURCES = $(SCHEMES:.scheme=.inc) $(MIBS:.txt=.inc) $(REFMIBS:.txt=.inc) +TEXINFO_SOURCES = $(SCHEMES:.schema=.inc) $(MIBS:.txt=.inc) $(REFMIBS:.txt=.inc) SOURCES = gray-assignments.texi version.texi $(TEXINFO_SOURCES) diff --git a/gitacl.schema b/gitacl.schema new file mode 100644 index 0000000..a9098d4 --- /dev/null +++ b/gitacl.schema @@ -0,0 +1,56 @@ +# Git LDAP schema items +# +# depends upon: +# nis.schema + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.0 NAME 'gitAclProject' + DESC 'Project for which the ACL entry is defined' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.1 NAME 'gitAclVerb' + DESC 'ACL verb' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.2 NAME 'gitAclOp' + DESC 'ACL opcode: any combination of C, D, U or R' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.3 NAME 'gitAclRef' + DESC 'Git ref' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.4 NAME 'gitAclOrder' + DESC 'an integer to order ACL entries' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.5 NAME 'gitAclUser' + DESC 'Git username' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) + +attributetype ( 1.3.6.1.4.1.9163.2.3.1.6 NAME 'gitAclTree' + DESC 'Git subtree' + EQUALITY caseExactMatch + SUBSTR caseExactSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) + +objectclass ( 1.3.6.1.4.1.9163.2.3.2.0 NAME 'gitACL' + DESC 'Git Access Control List Entry' + SUP top STRUCTURAL + MUST ( cn $ gitAclProject $ gitAclVerb ) + MAY ( gitAclUser $ gitAclOp $ gitAclRef $ gitAclOrder $ + gitAclTree $ description ) ) + diff --git a/gray-assignments.texi b/gray-assignments.texi index f6c8a7f..8ae72ad 100644 --- a/gray-assignments.texi +++ b/gray-assignments.texi @@ -49,2 +49,3 @@ Apendices * gray.schema:: +* gitacl.schema:: * SENDMAIL-STATS.txt:: @@ -76,3 +77,3 @@ Name: @samp{gray.schema} @*Purpose: Various LDAP assignments. -@*References: @xref{gray.schema}. +@*References: @xref{gray.schema}, @xref{gitacl.schema}. @end defvr @@ -126,3 +127,4 @@ Name: check_class_snmp Name: @samp{umi.schema} -@*Purpose: LDAP assignments for @command{UMI}. +@*Purpose: LDAP assignments for @command{UMI} +@*Author: Zeus Panchenko @*Project: @uref{https://github.com/z-eos/umi} @@ -137,3 +139,5 @@ servers. -Base OID: 1.3.6.1.4.1.9163.2 +@noindent +Base OID: 1.3.6.1.4.1.9163.2 (except for @samp{1.3.6.1.4.1.9163.2.3}, +which see in @pxref{gitacl.schema}). @@ -143,2 +147,21 @@ Base OID: 1.3.6.1.4.1.9163.2 +@node gitacl.schema +@appendix gitacl.schema + +This is LDAP schema used by @command{gitaclhook}, a @command{git} hook +implementing fine-grained access control for git repositories. For +detailed information about the program including pointers to +downloads, see @uref{https://puszcza.gnu.org.ua/projects/gitaclhook}. + +The most recent version of this MIB is available from +@uref{http://git.gnu.org.ua/cgit/gitaclhook.git/tree/gitacl.schema}. + + +@noindent +Base OID: 1.3.6.1.4.1.9163.2.3 + +@example +@include gitacl.inc +@end example + @node SENDMAIL-STATS.txt @@ -154,2 +177,3 @@ The most recent version of this MIB is available from +@noindent Base OID: 1.3.6.1.4.1.9163.100 @@ -171,2 +195,3 @@ other purpose. +@noindent Base OID: 1.3.6.1.4.1.9163.101 @@ -188,2 +213,3 @@ The most recent version of this MIB is available from +@noindent Base OID: 1.3.6.1.4.1.9163.102 @@ -204,2 +230,3 @@ The most recent version of this MIB is available from +@noindent Base OID: 1.3.6.1.4.1.9163.103 @@ -216,2 +243,3 @@ hopefully be withdrawn. +@noindent Base OID: 1.3.6.1.4.1.9163.110 |