[Bug] Permission package #297
Replies: 5 comments 1 reply
-
I have found the reason, but it requires your help :) when we create custom crud operations this bug occures. |
Beta Was this translation helpful? Give feedback.
-
@siberfx thanks for the report. Could you clarify what you are doing ? I guess that all CRUD operations are custom, like You have the
Best, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello @siberfx I am sorry but I could not reproduce your issue. What I did: Copied Added to sidebar: Go into my Might be a cache issue ? Try running Let me know if I missed some step to reproduce it. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi. Due to not activity on many years i will close this discussion, if there is needed feel free to reopen or create a new one. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
What I did
I've seeded permissions and role groups, all configurations is set proper, it hides menu elements.
What I expected to happen
it should hide all menu which is hidden by permission or the role ( backpack_user->hasPermissionTo('project_access') )
What happened
but when it comes to hide sidebar_content elements on dashboard page it hides them, but when it comes to get into a menu item, some hidden items are becoming visible on sidebar.
What I've already tried to fix it
I've checked auth.php, and also base.php, I ensure its not caused by a code override.
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:LARAVEL VERSION:
v8.31.0@2aa5c2488d25178ebc097052c7897a0e463ddc35
BACKPACK VERSION:
4.1.38@90cf9d0613848144c1e5f3822892bf2a7afa860f
Beta Was this translation helpful? Give feedback.
All reactions