-
Notifications
You must be signed in to change notification settings - Fork 0
/
en-US.php
112 lines (111 loc) · 4.06 KB
/
en-US.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
/**
* localized routing (e.g. CONTROLLER-ACTION)
*/
return [
'user-enable-two-factor' => [
'route' => '/enable-two-factor/',
'method' => 'App\Controller\UserController:enableTwoFactorAction',
'methods' => ['GET', 'POST'],
'rolesAllow' => ['member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-two-factor' => [
'route' => '/two-factor/',
'method' => 'App\Controller\UserController:twoFactorAction',
'methods' => ['GET', 'POST'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-login-success' => [
'route' => '/success/',
'method' => 'App\Controller\UserController:loginSuccessAction',
'methods' => ['GET'],
'rolesAllow' => ['member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-login-validate' => [
'route' => '/validate/',
'method' => 'App\Controller\UserController:loginValidateAction',
'methods' => ['POST'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-show' => [
'route' => '/profile/[{name}/]',
'method' => 'App\Controller\UserController:showAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'page-example' => [
'route' => '/example/',
'method' => 'App\Controller\PageController:exampleAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-register' => [
'route' => '/register/',
'method' => 'App\Controller\UserController:registerAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-register-save' => [
'route' => '/complete-register/',
'method' => 'App\Controller\UserController:saveRegisterAction',
'methods' => ['POST'],
'rolesAllow' => ['guest', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-login' => [
'route' => '/login/',
'method' => 'App\Controller\UserController:loginAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'user-logout' => [
'route' => '/logout/',
'method' => 'App\Controller\UserController:logoutAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'error-bad-request' => [
'route' => '/400/',
'method' => 'App\Controller\ErrorController:badRequestAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'error-not-allowed' => [
'route' => '/405/',
'method' => 'App\Controller\ErrorController:notAllowedAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'error-not-found' => [
'route' => '/404/',
'method' => 'App\Controller\ErrorController:notFoundAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'error-unauthorized' => [
'route' => '/401/',
'method' => 'App\Controller\ErrorController:unauthorizedAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
'page-index' => [
'route' => '/',
'method' => 'App\Controller\PageController:indexAction',
'methods' => ['GET'],
'rolesAllow' => ['guest', 'member', 'admin', 'superadmin'],
'rolesDeny' => [],
],
];