- use PermissionChecker (T311154) in the use case after calling the revisionMetadataRetriever
- return error response if not allowed
- add e2e test with protected item
Respond with the same kind of error that the MediaWiki framework responds with when then route handler's needsWriteAccess check fails.