- WIP on leaning lean a bit
This commit is contained in:
1 parent
4f648b47bd
commit
f3c4cbd95a
13 files changed
+41
-180
No files matched your search
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
use Taxus\Privilege;
|
||||
use function DI\autowire, DI\create, DI\get;
|
||||
|
||||
use TheBugs\JavascriptMiddleware;
|
||||
@@ -66,12 +65,7 @@ return [
|
||||
|
||||
'cronard' => [],
|
||||
|
||||
'taxus' => [
|
||||
[ new Privilege("dev", "Is a developper of this application."), "is_dev" ],
|
||||
[ new Privilege("admin", "Can manage mostly everything from this application."), "is_admin" ],
|
||||
[ new Privilege("user", "Is an authenticated user."), "is_user" ],
|
||||
[ new Privilege("anonymous", "Is an anonymous (unauthenticated) user."), "is_anonymous" ],
|
||||
]
|
||||
'taxus' => [],
|
||||
],
|
||||
|
||||
Lean::class => autowire(Lean::class),
|
||||
|
||||
Reference in new issue
Block a user