workspaceMember && $this->managedEnvironmentAllowed && $this->capabilityAllowed; } public function shouldDenyAsNotFound(): bool { return $this->denialHttpStatus === 404; } public function shouldDenyAsForbidden(): bool { return $this->denialHttpStatus === 403; } }