on ManageRelatedRecords page and Authorizations #16142
Unanswered
Abdelhalim-Merabet
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Panel builder
Package Version
3.12
How can we help you?
hello
am trying to authorize viewAny ( to return 403 on the ManageRelatedRecords page )
return $page->generateNavigationItems([ 'View' => Pages\ViewProject::class, 'Edit' => Pages\EditProject::class, 'Activities' => Pages\ManageProjectActivities::class, ]);
to authorize based on the related model , and not only the logged in user
don't know if my question is clear enough or not
Beta Was this translation helpful? Give feedback.
All reactions