diff options
Diffstat (limited to 'gitacl.schema')
-rw-r--r-- | gitacl.schema | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gitacl.schema b/gitacl.schema new file mode 100644 index 0000000..d8083e5 --- /dev/null +++ b/gitacl.schema | |||
@@ -0,0 +1,49 @@ | |||
1 | # Git LDAP schema items | ||
2 | # | ||
3 | # depends upon: | ||
4 | # nis.schema | ||
5 | |||
6 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.0 NAME 'gitAclProject' | ||
7 | DESC 'Project for which the ACL entry is defined' | ||
8 | EQUALITY caseExactMatch | ||
9 | SUBSTR caseExactSubstringsMatch | ||
10 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} | ||
11 | SINGLE-VALUE ) | ||
12 | |||
13 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.1 NAME 'gitAclVerb' | ||
14 | DESC 'ACL verb' | ||
15 | EQUALITY caseExactMatch | ||
16 | SUBSTR caseExactSubstringsMatch | ||
17 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} | ||
18 | SINGLE-VALUE ) | ||
19 | |||
20 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.2 NAME 'gitAclOp' | ||
21 | DESC 'ACL opcode: any combination of C, D, U or R' | ||
22 | EQUALITY caseExactMatch | ||
23 | SUBSTR caseExactSubstringsMatch | ||
24 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | ||
25 | |||
26 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.3 NAME 'gitAclRef' | ||
27 | DESC 'Git ref' | ||
28 | EQUALITY caseExactMatch | ||
29 | SUBSTR caseExactSubstringsMatch | ||
30 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | ||
31 | |||
32 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.4 NAME 'gitAclOrder' | ||
33 | DESC 'an integer to order ACL entries' | ||
34 | EQUALITY integerMatch | ||
35 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 | ||
36 | SINGLE-VALUE ) | ||
37 | |||
38 | attributetype ( 1.3.6.1.4.1.9163.2.3.1.5 NAME 'gitAclUser' | ||
39 | DESC 'Git username' | ||
40 | EQUALITY caseExactMatch | ||
41 | SUBSTR caseExactSubstringsMatch | ||
42 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | ||
43 | |||
44 | objectclass ( 1.3.6.1.4.1.9163.2.3.2.0 NAME 'gitACL' | ||
45 | DESC 'Git Access Control List Entry' | ||
46 | SUP top STRUCTURAL | ||
47 | MUST ( cn $ gitAclProject $ gitAclVerb ) | ||
48 | MAY ( gitAclUser $ gitAclOp $ gitAclRef $ gitAclOrder $ description ) ) | ||
49 | |||