diff --git a/src/Traits/InteractsWithPermission.php b/src/Traits/InteractsWithPermission.php index c3856ba..a3fab75 100644 --- a/src/Traits/InteractsWithPermission.php +++ b/src/Traits/InteractsWithPermission.php @@ -173,6 +173,8 @@ public function revokeAllPermissions(): int */ public function getPermissions(): array { + $this->loadMissing('permissions'); + return $this->permissions->pluck('slug')->toArray(); } }