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

As a Developer I want API to detect if object is user/group

    Details

      Description

      To be able to avoid expensive uncached API calls in Admin UI to always have to load to see if a object is User or User Group, simply expose isUser() and isUserGroup() APIs on UserService to avoid this (as it can check against config instead).

        Issue Links

          Activity

          André Rømcke created issue -
          André Rømcke made changes -
          Field Original Value New Value
          Link This issue clones EZP-29821 [ EZP-29821 ]
          André Rømcke made changes -
          Description Some minor optimizations ot Admin UI by identifying things to improve.

          A mix:
          - Exposing a few smaller helper methods in API to make Admin UI more efficient
          - Add missing + improve SPI caching of some methods Admin UI uses a lot
          - Refactor a few things in Admin UI to avoid API lookups
          To be able to avoid expensive uncached API calls in Admin UI to always have to load to see if a object is User or User Group, simply expose isUser() and isUserGroup() APIs on UserService to avoid this (as it can check against config instead).
          André Rømcke made changes -
          Summary As a Developer I want less API to detect if object is user or user group As a Developer I want lAPI to detect if object is user/group
          André Rømcke made changes -
          Summary As a Developer I want lAPI to detect if object is user/group As a Developer I want API to detect if object is user/group
          André Rømcke made changes -
          Status Backlog [ 10000 ] Specification [ 10002 ]
          André Rømcke made changes -
          Status Specification [ 10002 ] Specification Done [ 10003 ]
          Assignee André Rømcke [ andre.romcke@ez.no ]
          André Rømcke made changes -
          Fix Version/s 2.4.0 [ 15091 ]
          Fix Version/s 2.4.0-beta1 [ 15089 ]
          André Rømcke made changes -
          Status Specification Done [ 10003 ] Development [ 3 ]
          Assignee André Rømcke [ andre.romcke@ez.no ]
          André Rømcke made changes -
          Status Development [ 3 ] Development Done [ 5 ]
          Dominika Kurek made changes -
          Status Development Done [ 5 ] QA [ 10008 ]
          André Rømcke made changes -
          Assignee André Rømcke [ andre.romcke@ez.no ]

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: