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

[Rest API] Can't access a draft content that has no published versions

    XMLWordPrintable

Details

    Description

      An editor can't load/get a object if as only 1 version and the version is in draft state
      ( the object is created by the editor, see "Steps" )

      Steps:
      ( on admin interface )
      1 - login as an editor user
      2 - create a folder
      3 - save the folder as draft (no published version)
      
      ( on rest client)
      1 - authenticate as the same editor user
      2 - send following request:
      _________________________________________
      GET /api/ezp/v2/content/objects/<ID>/versions/1
      Accept: application/vnd.ez.api.Version+xml
      _________________________________________
      (ID is the folder object ID)
      3 - Verify error "not authorized"
      

      However the editor as access to it on admin interface trough the Dashboard page

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m