From bd267505f9b8c9a332f01be35d341a3eb0ab553a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Wed, 3 Mar 2021 16:59:05 +0300 Subject: [PATCH] updated laratrust config --- config/laratrust.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/laratrust.php b/config/laratrust.php index 387d13e73..3b2300fd3 100644 --- a/config/laratrust.php +++ b/config/laratrust.php @@ -265,6 +265,16 @@ return [ */ 'magic_is_able_to_method_case' => 'kebab_case', + /* + |-------------------------------------------------------------------------- + | Laratrust Permissions as Gates + |-------------------------------------------------------------------------- + | + | Determines if you can check if a user has a permission using the "can" method. + | + */ + 'permissions_as_gates' => true, + /* |-------------------------------------------------------------------------- | Laratrust Panel