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

As a Developer I'd like sudo() to be exposed on API

    Details

      Description

      A bit overdue small change.

      Needed so:

      • It can be found easier, and so we can document it
      • So it can become official so Developers feels safe using it

      Note, this does not:

      • Remove the need to continue adding bulk loading API's that don't throw but instead just filters on permission
        • Remove the possible notion of adding arguments on these load methods to opt out of permission checking, like is the case on find*()
      • Fix the fact that sudo() does not have relevant return type hinting by it's nature

        Activity

        André Rømcke created issue -
        André Rømcke made changes -
        Field Original Value New Value
        Status Backlog [ 10000 ] Specification [ 10002 ]
        Assignee André Rømcke [ andre.romcke@ez.no ]
        André Rømcke made changes -
        Description So:
        - It can be found easier, and so we can document it
        - So it can become official so Developers feels safe using it

        Note, this does _not_:
        - Remove the need to continue adding bulk loading API's that don't throw but instead just filters on permission
        -- Remove the possible notion of adding arguments on these load methods to opt out of permission checking, like is the case on {{find*()}}
        - Fix the fact that sudo() does not have relevant return type hinting by it's nature
        A bit overdue small change.

        Needed so:
        - It can be found easier, and so we can document it
        - So it can become official so Developers feels safe using it

        Note, this does _not_:
        - Remove the need to continue adding bulk loading API's that don't throw but instead just filters on permission
        -- Remove the possible notion of adding arguments on these load methods to opt out of permission checking, like is the case on {{find*()}}
        - Fix the fact that sudo() does not have relevant return type hinting by it's nature
        André Rømcke made changes -
        Status Specification [ 10002 ] Specification Review [ 10038 ]
        André Rømcke made changes -
        Status Specification Review [ 10038 ] Specification Done [ 10003 ]
        André Rømcke made changes -
        Status Specification Done [ 10003 ] Development [ 3 ]
        André Rømcke made changes -
        Status Development [ 3 ] Development Done [ 5 ]
        Fix Version/s 2.5.0-beta1 [ 15102 ]
        Dominika Kurek made changes -
        Status Development Done [ 5 ] Documentation [ 10010 ]
        Dominika Kurek made changes -
        Status Documentation [ 10010 ] Documentation Done [ 10040 ]
        Assignee André Rømcke [ andre.romcke@ez.no ]
        Dominika Kurek made changes -
        Status Documentation Done [ 10040 ] QA [ 10008 ]

          People

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

            Dates

            • Created:
              Updated: