title: How to use correctly Super Admin's role in Laravel Spatie
body: <p>As it's write in doc, i used Laravel's Gate::before() method.</p>
  <pre><code>use Illuminate\Support\Facades\Gate;
  
  class AuthServiceProvider extends ServiceProvider
  {
      public function boot()
      {
          $this-&gt;registerPolicies();
  
          // Implicitly grant &quot;Super Admin&quot; role all permissions
          // This works in the app by using gate-related functions like auth()-&gt;user-&gt;can() and @can()
          Gate::before(function ($user, $ability) {
              return $user-&gt;hasRole('Super Admin') ? true : null;
          });
      }
  }
  
  </code></pre>
  <p>But it doesn't work. I had the role in middleaware groupe in web.php and it's work. The role 'Super Admin' dont have any permission.</p>
  <pre><code>Route::group(['middleware' =&gt; ['auth:api','role:Super Admin|Provider']], function() {
    ...
  }
  </code></pre>
  <p>In my ProviderController</p>
  <pre><code>class ProviderController extends Controller
  {
      function __construct(){
         
          $this-&gt;middleware('permission:provider-list|provider-create|provider-edit|provider-delete', ['only' =&gt; ['index','show']]);
          $this-&gt;middleware('permission:provider-create', ['only' =&gt; ['create','store']]);
          $this-&gt;middleware('permission:provider-edit', ['only' =&gt; ['edit','update']]);
          $this-&gt;middleware('permission:provider-delete', ['only' =&gt; ['destroy']]);
          
      }
  
  </code></pre>
  <p>My question it's the right way or not ? I thank you in advance.</p>