Closed dpancic closed 1 year ago
In GitLab by @stefanprobst on Apr 13, 2022, 10:01
note: it does work correctly with:
curl http://localhost:8080/api/datasets/FBoUJo?draft=true -H "authorization: ${TOKEN}"
however, since the draft item actually has a version id assigned, it is unexpected that the /api/:category/:persistentId/versions/:versionId
endpoints don't handle items with status="draft"
.
In GitLab by @laureD19 on Jul 22, 2022, 12:31
this one seems solved after the last deployment. I've just made some tests on stage and no 403 errors.
Please reopen if there is still something to correct from your pov, @stefanprobst
In GitLab by @stefanprobst on Apr 12, 2022, 09:50
when a user with role=contributor saves a draft item, retrieving it later (i.e. via "my draft items") will result in 403 status.
to reproduce (
TOKEN
is auth token for user with "Contributor" role):x-ref: https://gitlab.gwdg.de/sshoc/sshoc-marketplace-frontend/-/issues/99