From: Manuel Flandorfer Date: Sun, 17 Dec 2023 12:28:29 +0000 (+0100) Subject: Add permissons to API4 Session entity X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f1c575763a827f004bce6ba799caf9d7c731c9cf;p=civicrm-core.git Add permissons to API4 Session entity --- diff --git a/ext/standaloneusers/Civi/Api4/Session.php b/ext/standaloneusers/Civi/Api4/Session.php index 882b9a6d23..d7975b17d7 100644 --- a/ext/standaloneusers/Civi/Api4/Session.php +++ b/ext/standaloneusers/Civi/Api4/Session.php @@ -10,4 +10,10 @@ namespace Civi\Api4; */ class Session extends Generic\DAOEntity { + public static function permissions() { + return [ + 'default' => ['cms:administer users'], + ]; + } + }