Add permission to menu item

nick-labbate

Feb 19th, 2020 05:03 PM

Hi, guys, I've been trying for a few days to find an ideal solution to apply a permission to an item menu but I haven't been able to.

Do you have any suggestions?

alejandro-rueda

Apr 4th, 2020 04:42 PM

Hi @mhd-yasser-haddad, I already did that, but in a custom page, with custom permisssion, it always return error 403. I don't know what to do with this...

/**

  • Get the guard to be used during authentication.
  • @return \Illuminate\Contracts\Auth\StatefulGuard */ protected function guard() { return Auth::guard(app('VoyagerGuard')); }
Please help...

Thanks...