From 75a07dbbcf923601aa1cb1d5ea9b74291092e442 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 18 Jun 2025 17:25:40 +0100 Subject: [PATCH] Fix authorization error when creating globals --- src/Policies/GlobalSetPolicy.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Policies/GlobalSetPolicy.php b/src/Policies/GlobalSetPolicy.php index 6f48eb36b4..cb0d1bb063 100644 --- a/src/Policies/GlobalSetPolicy.php +++ b/src/Policies/GlobalSetPolicy.php @@ -36,6 +36,11 @@ public function create($user) // handled by before() } + public function store($user) + { + // handled by before() + } + public function view($user, $set) { $user = User::fromUser($user);