private function injectSpecialRoles(array $sids)
    {
        $roles = $this->getRoleNames($sids);

        foreach ($this->roles as $role) {
            if (!\in_array($role, $roles, true)) {
                $sids[] = RoleSecurityIdentity::fromAccount($role);
            }
        }

        return $sids;
    }