Laravel gates and Policies

Laravel Gates and Policies

Laravel provides two primary ways to authorize actions: gates and policies. Gates are a simple approach to authorization, while policies group logic around a particular model or resource.