forked from agraubert/Beymax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_permissions.yml
45 lines (42 loc) · 1.04 KB
/
example_permissions.yml
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
defaults:
deny:
- kill-beymax
- satisfied
- output-dev
- output-prod
- bug:label
- bug:status
- bug:user
- owupdate
- ignore
- pardon
underscore: false
## Set the permissions block to specify the rules for permissions
# permissions:
## This block allows the listed commands, as well as all underscore commands to the role named 'admin'
# -
# role: admin
# allow:
# - kill-beymax
# - satisfied
# - output-dev
# - output-prod
# - bug:label
# - bug:status
# - bug:user
# - owupdate
# underscore: true
## This block denies all commands to the role named 'blacklisted'. '$all' can be used in deny or allow blocks
# -
# role: blacklisted
# deny:
# - $all
# underscore: false
## This block would allow some_command as well as all underscore commands to be used by username#1234 and the user with id 'someones_user_id'
# -
# users:
# - username#1234
# - someones_user_id
# allow:
# - some_command
# underscore: true