(bug 48298) Set status in EditEntity for failed permission check

- instead of throwing \PermissionsError (verified for trying to edit protected items via bot)

Change-Id: If80689bc8a56290f1df33309670707f88c3ceae6
Merge "(bug 48298) Set status in EditEntity for failed permission check"