protected static function getOrganizationGroups(OrganizationUserInterface $user)
    {
        $sids = [];
        $orgName = $user->getOrganization()->getName();

        if ($user instanceof GroupableInterface) {
            foreach ($user->getGroups() as $group) {
                if ($group instanceof GroupInterface) {
                    $sids[] = new GroupSecurityIdentity(ClassUtils::getClass($group), $group->getName().'__'.$orgName);
                }
            }
        }

        return $sids;
    }