diff --git a/src/PermissionPolicy.php b/src/PermissionPolicy.php new file mode 100644 index 0000000..d88d1fb --- /dev/null +++ b/src/PermissionPolicy.php @@ -0,0 +1,47 @@ +routes(); }); + Gate::policy(config('permission.models.permission'), PermissionPolicy::class); + Gate::policy(config('permission.models.role'), RolePolicy::class); + Nova::serving(function (ServingNova $event) { // });