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

    XMLWordPrintable

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: