-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.github.example.json
More file actions
36 lines (36 loc) · 992 Bytes
/
config.github.example.json
File metadata and controls
36 lines (36 loc) · 992 Bytes
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
{
"auth": {
"enabled": true,
"github": {
"enabled": true,
"base_url": "https://api.github.com",
"token_header": "Authorization",
"user_mapping": {
"default_role": "guest",
"default_permissions": ["read"],
"team_role_mapping": {
"mycompany/platform-team": {
"role": "admin",
"permissions": ["*"]
},
"mycompany/backend-developers": {
"role": "developer",
"permissions": ["read", "write", "execute", "debug"]
},
"mycompany/frontend-developers": {
"role": "developer",
"permissions": ["read", "write", "execute"]
},
"mycompany/qa-team": {
"role": "tester",
"permissions": ["read", "execute"]
},
"partnerorg/consultants": {
"role": "contractor",
"permissions": ["read", "limited_write"]
}
}
}
}
}
}