private function getPoliciesById(RoleDraft $roleDraft)
    {
        $policies = [];
        foreach ($roleDraft->getPolicies() as $policy) {
            $policies[$policy->id] = $policy;
        }

        return $policies;
    }