The error message displayed when access is denied upon attempting to PATCH an entity incorrectly reads:
"The current user is not allowed to GET the selected resource."

Fix it to read:
"The current user is not allowed to PATCH the selected resource."

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hampercm created an issue. See original summary.

hampercm’s picture

Assigned: hampercm » Unassigned
Status: Active » Needs review
FileSize
766 bytes
e0ipso’s picture

Status: Needs review » Fixed

Merging this. Thanks for the fix.

  • e0ipso committed d17f272 on 8.x-1.x authored by hampercm
    fix(Error Handling) Incorrect error message on PATCH access denied (#...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.