Manual talk:Hooks/getUserPermissionsErrors
getUserPermissionsErrors for unlogged users edit
getUserPermissionsErrors is not checked if user only has 'read' permission for the current page.
getUserPermissionsErrors is not checked if user only has 'read' permission for the current page.