Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
gredu_labs
Commits
89d81d23
Commit
89d81d23
authored
Feb 09, 2016
by
Vassilis Kanellopoulos
Browse files
split acl
parent
f9f928f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/settings/acl.global.php
View file @
89d81d23
...
...
@@ -14,8 +14,7 @@ return [
'callables'
=>
[],
'routes'
=>
[
[
'/'
,
[
'guest'
,
'user'
],
[
'get'
]],
[
'/user/login'
,
[
'guest'
],
[
'get'
,
'post'
]],
[
'/user/logout'
,
[
'user'
],
[
'get'
]],
[
'/school'
,
[
'guest'
,
'user'
],
[
'get'
]],
[
'/school/labs'
,
[
'guest'
,
'user'
],
[
'get'
]],
[
'/school/staff'
,
[
'guest'
,
'user'
],
[
'get'
]],
...
...
config/settings/authentication.global.php
0 → 100644
View file @
89d81d23
<?php
/**
* gredu_labs
*
* @link https://github.com/eellak/gredu_labs for the canonical source repository
* @copyright Copyright (c) 2008-2015 Greek Free/Open Source Software Society (https://gfoss.ellak.gr/)
* @license GNU GPLv3 http://www.gnu.org/licenses/gpl-3.0-standalone.html
*/
return
[
'acl'
=>
[
'guards'
=>
[
'routes'
=>
[
[
'/user/login'
,
[
'guest'
],
[
'get'
,
'post'
]],
[
'/user/logout'
,
[
'user'
],
[
'get'
]],
],
],
],
];
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment