- WIP on leaning lean a bit

This commit is contained in:
mcndave committed 2023-11-15 22:11:17 -05:00
1 parent 4f648b47bd
commit f3c4cbd95a
13 files changed
+41 -180

No files matched your search

+1 -4
View File
@@ -11,10 +11,7 @@ use function DI\autowire, DI\create, DI\get;
return [
Taxus::class => function ($c) {
return ( new Taxus( $c->get(PermissionGrantInterface::class) ) )->add(
[ 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" ],
$c->get(Lean\Lean::class)->getTaxusPrivileges()
);
},