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

[PAPI] UserService::loadUserGroup will load any kind of content

    XMLWordPrintable

Details

    Description

      When creating users through the Public API if on the $parentGroups parameter there are some 'incorrect' IDs it will be assigned to them any way.

      UserService::loadUserGroup

      Steps:

      1. go to the admin interface
      2. create a folder and get it's object ID (<folder-id>)
      3. create an image and get it's object ID (<image-id>)
      4. load the groups using public API
            $userService->loadUserGroup( <folder-id> );
            $userService->loadUserGroup( <image-id> );
        
      5. Verify that the expected exception was not thrown in either cases

      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: