Replies: 2 comments 3 replies
-
Make a demo app on a fresh laravel instalation |
Beta Was this translation helpful? Give feedback.
-
Also appear to be having this issue, develop/testing works fine on a MacOS environment, but when pushed to staging/production servers, no roles/permissions are applied are applied to users. -- CAN
CANNOT
-- Ubuntu 20.04 (LTS) x64 -- Local environment, successfully applies role to user, and can fetch user permissions. -- Staging/Prod. on Ubuntu does not return any results. |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm using Permissions in Laravel Apps running on a Windows Apache which was working great - i've used this commands
$permissions = $user->getPermissionsViaRoles();
$allpermissions = $user->getAllPermissions();
$userroles = $user->getRoleNames()
for checking if the permissions and roles are loaded correctly, on Windows this works perfectly, on ubuntu 20.x these calls are not gettings any results and are empty.
i've emptied the cache, actually all caches, tried to upgrade to a newer version etc. but nothing really worked - database access workes fine since i can load data without auth.
Is there anything i could do or try to overcome this problem?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions