From 9930a5ada071e354e9f8de88555d0dd30fbcdf58 Mon Sep 17 00:00:00 2001 From: Yusuf Durmaz <84239069+YusufDurmaz@users.noreply.github.com> Date: Fri, 1 Nov 2024 18:44:41 +0300 Subject: [PATCH] Docs: adding note to 'Change Available Permissions' According to Discussion #1213 --- docs/quick_start_guide/using_authorization.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/quick_start_guide/using_authorization.md b/docs/quick_start_guide/using_authorization.md index 36bd918e0..ec28c48cc 100644 --- a/docs/quick_start_guide/using_authorization.md +++ b/docs/quick_start_guide/using_authorization.md @@ -36,6 +36,10 @@ public array $permissions = [ ]; ``` +!!! note + + Permissions should be written in lowercase letters. Some functions automatically convert the given permission parameter to lowercase letters, and using uppercase letters may cause compatibility problems. + ### Assign Permissions to a Group Each group can have its own specific set of permissions. These are defined in `Config\AuthGroups::$matrix`. You can specify each permission by it's full name, or using the context and an asterisk (*) to specify all permissions within that context.