Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to check Roles and Permission in blade file?

    General Discussion
    2
    2
    150
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hedyd last edited by hedyd

      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.

      Nam in quod velit ni

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post