-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacl.php
67 lines (62 loc) · 1.22 KB
/
acl.php
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
$acl = [
'guest' => 1,
'icp' => 2, // in-complete profile
'admin' => 3,
'superadmin' => 4,
'marketing' => 5,
'technical' => 6,
'audit' => 7,
'client' => 8
];
$aclaccess['guest'] = $aclaccess['icp'] = [
'404',
'permission',
'home',
'login',
'logout',
'register',
'about',
'contact',
'profile',
'profile/delete-image',
'forgot-password',
'reset-password',
'learn-more',
'jumbotron',
'fix',
'js/config',
'cron/tt',
'cron/tt-trend',
'cron/yt',
];
$aclaccess['admin'] = [
'admin',
'admin/task',
'admin/task/new',
'admin/task/edit',
'admin/task/delete',
'admin/task/view',
'cron/add-random-task',
'cron/scan-completed-task-weekly'
];
$aclaccess['superadmin'] = [
'superadmin',
'superadmin/member',
'superadmin/member/edit',
'superadmin/member/delete',
'superadmin/member/delete-image',
'superadmin/member/login',
'superadmin/member/search',
'superadmin/jumbotron',
'superadmin/jumbotron/delete',
'task',
'content',
'payment',
];
$aclaccess['marketing'] = [
'admin/client',
'admin/client/add',
'admin/client/edit',
'admin/client/delete',
];