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

    Details

      Description

      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

          Activity

          Petar Spanja (Inactive) created issue -
          Petar Spanja (Inactive) made changes -
          Field Original Value New Value
          Link This issue discovered while testing EZP-22456 [ EZP-22456 ]
          André Rømcke made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          André Rømcke made changes -
          Status Confirmed [ 10037 ] Backlog [ 10000 ]
          André Rømcke made changes -
          Fix Version/s 5.4 [ 13180 ]
          Fix Version/s 5.3 [ 11282 ]
          André Rømcke made changes -
          Fix Version/s 5.4.0-rc1 [ 13883 ]
          Fix Version/s 5.4.0-beta1 [ 13180 ]
          André Rømcke made changes -
          Fix Version/s Engineering tracked issues [ 11179 ]
          André Rømcke made changes -
          Fix Version/s 5.4.0-rc1 [ 13883 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 62166 ] EZ* Development Workflow [ 69682 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 69682 ] EZEE Development Workflow [ 107973 ]
          Andrzej Longosz made changes -
          Link This issue relates to EZP-28405 [ EZP-28405 ]

            People

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

              Dates

              • Created:
                Updated: