-
-
Notifications
You must be signed in to change notification settings - Fork 499
Description
Scenario:
Generic user A has edit privileges into a record (because they have Edit privilege in the group that owns the record)
They can access the edit button as well as the Manage record -> Submit for review button.
User A submits record for review.

User A recieves unexpected 403 msg and error msg:

I expect an editor to be able to submit a record for review
I also found that if I increase user A permission to "reviewer", then they are able to submit a record for review. But the documentation says an editor should be able to submit something for review "when an Editor changes the state on a metadata record(s) from Draft or Unknown to Submitted..."
API incorrect behaviour
API PUT:
content = {"status":"4","owner":null,"dueDate":null,"changeMessage":"Test submit for review"}
endpoint = /geonetwork/srv/api/records/1029/status
Response = {
"message": "Only the owner of the metadata can set the status of this record. User is not the owner of the metadata.",
"code": "forbidden",
"description": null
}
Status code = 403
Desktop:
- Browser [Edge]
- GeoNetwork Version [4.4.7 GN docker image]
- Server Application [what ever is used by the GN docker image]
There are no logs output.