Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22388

As a Developer I want to load UserGroup's by identifier

    XMLWordPrintable

Details

    Description

      I don't know if there are any plans for this or how it's done on the wild.
      However I think UserService::loadUserGroupByIdentifier is totally missing in the service, the only way to load the user group is through it's id or calling the groups of an user.

      Since the UserGroup->identifier must be unique this is do-able.

      So the improvement request:

          /**
           * Get a User Group object by identifier
           * 
           * @param string $userGroupIdentifier
           * 
           * @return \eZ\Publish\API\Repository\Values\User\UserGroup
           * 
           * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If user group can not be found
           */
           public function loadUserGroupByIdentifier( $userGroupIdentifier ):
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: