Skip to content

Metadata editors cannot submit record for review, but reviewers can #8936

@Rosspetcsiro

Description

@Rosspetcsiro

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.

Image

User A recieves unexpected 403 msg and error msg:

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions