forked from dokku-alt/dokku-alt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget-acl
More file actions
executable file
·49 lines (40 loc) · 895 Bytes
/
get-acl
File metadata and controls
executable file
·49 lines (40 loc) · 895 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
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env bash
source "$(dirname $0)/../dokku_common"
cat
case "$1" in
apps:status|status)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:start|start)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:stop|stop)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:disable|disable)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:enable|enable)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:restart|restart)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
apps:top|top)
verify_app_name "$2"
verify_max_args 2 "$@"
print_app_acl_access "developer"
;;
esac