From dc2bd1f7018c8c7593c423720f0e9df722f71295 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 29 Dec 2024 19:38:56 +0100 Subject: [PATCH] fix frontend usage --- src/My.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/My.php b/src/My.php index 918bab0..ea37df3 100644 --- a/src/My.php +++ b/src/My.php @@ -15,5 +15,8 @@ use Dotclear\Module\MyPlugin; */ class My extends MyPlugin { - // use default permissions + protected static function checkCustomContext(int $context): ?bool + { + return true; + } }