This commit is contained in:
mcndave committed 2023-12-04 12:34:31 -05:00
1 parent a9db9cd846
commit 45ffc6e128
7 files changed
+53 -11

No files matched your search

+2 -2
View File
@@ -24,10 +24,10 @@ return [
},
Event\EventDefinition::class => function($c) {
$ext = $c->has(\Picea\Extension\UrlExtension::class) ? $c->get(\Picea\Extension\UrlExtension::class) : null;
$extension = $c->has(\Picea\Extension\UrlExtension::class) ? $c->get(\Picea\Extension\UrlExtension::class) : null;
return new Event\EventDefinition([
new class($ext) implements RoutingCompileRoutes {
new class($extension) implements RoutingCompileRoutes {
public function __construct(
protected ? \Picea\Extension\UrlExtension $extension,
) {}
-2
View File
@@ -26,6 +26,4 @@ return [
Tell\Reader\JsonReader::class => function($c) {
return new Tell\Reader\JsonReader($c->get(Lean\Lean::class)->getI18n('json'), true, \JSON_PRETTY_PRINT);
},
LanguageHandler::class => autowire(LanguageHandler::class),
];
+7 -1
View File
@@ -65,7 +65,13 @@ return [
'cronard' => [],
'taxus' => [],
'taxus' => [
'is_dev' => [ ' dev' => "Is a developper of this application or has the same rights" ],
'is_admin' => [ 'admin' => "Can manage almost everything in this application."],
'is_moderator' => [ 'moderator' => "Can moderate this application."],
'is_user' => [ 'user' => "Is an authenticated user."],
'is_anonymous' => [ 'anonymous' => "Is an anonymous user."],
],
],
Lean::class => autowire(Lean::class),