allow custom countries

This commit is contained in:
HolgerHatGarKeineNode
2023-12-08 13:46:48 +01:00
parent a7071c88db
commit 21fa8f7ed7
7 changed files with 911 additions and 823 deletions

View File

@@ -37,6 +37,7 @@ class CountryPolicy extends BasePolicy
*/
public function create(User $user): bool
{
dd($user);
return $user->can((new \ReflectionClass($this))->getShortName().'.'.__FUNCTION__);
}