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

UserService uses default ContentType id settings to load Users and User Groups



      userClassID and userGroupClassID settings available in UserService are intended only to be used as defaults in creation of Users and User Groups.
      PAPI allows custom ContentTypes to be used when creating these.

      In methods loadUsersOfUserGroup(), loadSubUserGroups() and loadUserGroupsOfUser(), those settings are also used to load Users and User Groups, which will not work correctly if custom ContentType was used in creation.

      These settings need to be removed from the mentioned methods. Currently no elegant way exists to load children Users/User Groups and implementation will need to load all children and check for ezuser field definition.

      It also should be looked into how to do this in a more efficient way.

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          39m 35s 1 André Rømcke 12/Mar/14 4:44 PM
          Confirmed Confirmed Backlog Backlog
          9s 1 André Rømcke 12/Mar/14 4:44 PM


            • Assignee:
              Petar Spanja (Inactive)
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: