title: how to check if user has role or permission in blade laravel
body: <p>I am working with Laravel 8 and I use Laratrust package for roles and permissions</p>
  <p>i Use the following directives to check role or permission in blade view</p>
  <pre><code>@permission('add_user')
  &lt;a href=&quot;route({{'add_user')}}&quot;&gt;create new user &lt;/a&gt;
  @endpermission
  
  @role('admin')
  &lt;a href=&quot;route({{'add_user')}}&quot;&gt;create new user &lt;/a&gt;
  @endrole
  </code></pre>
  <p>my question is there any way to check both role and permission at the same time</p>
  <p>some thing like</p>
  <blockquote>
  <p>@role('admin') || @permission('add_user')</p>
  </blockquote>