How to check Roles and Permission in blade file?

  • As for now, permissions are working. It throws an error if the user tries to create a Customer from the backend, and has no permission.

    But what I want to hide the Create Customer button instead of the permission validation message.

  • Can you share the steps if its throws an exception then it will probably be a bug and it should not happen.

Log in to reply