-
Notifications
You must be signed in to change notification settings - Fork 0
/
access-rules.txt
46 lines (35 loc) · 1.36 KB
/
access-rules.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
This document documents the various access rules and how they are supposed to work:
configuration database:
status : [enabled|diabled]
description : text
allow_access_from: [local|internet]
git database:
entry name : name of git repository without the .git extension
type : repository
description : text
pull_groups : comma separated list of groups with pull permissions
pull_users : comma separated list of users with pull permissions
push_groups : comma separated list of groups with push permissions
push_users : comma separated list of users with push permissions
The system collects an effective list of users from combining the groups and
users. If the effective list of users is empty, access is allowed as Anonymous.
Example:
# db git show smeserver-git
smeserver-git=repository
allow_access_from=internet
description=SME Server GIT Integration
pull_groups=
pull_users=
push_groups=staff
push_users=
Allow Access From
=================
- Select from local & internet
Pull Users
==========
- Users that have read access to the repository
- When there are no users selected for read access the access is anonymous
Push Users
==========
- Users that have write access to the repository
- When there are no users selected for write access the access is anonymous?