diff --git a/src/Http/Requests/ContentListRequest.php b/src/Http/Requests/ContentListRequest.php index 92b5d6e9..d0ecf09f 100644 --- a/src/Http/Requests/ContentListRequest.php +++ b/src/Http/Requests/ContentListRequest.php @@ -10,7 +10,7 @@ class ContentListRequest extends FormRequest { public function authorize(): bool { - return true;//Gate::allows('list', H5PContent::class); + return Gate::allows('list', H5PContent::class); } public function rules(): array