Why cannot author edit pages?

It was a simple thing when thinking of it… I needed to add:

$role->add_cap( 'edit_others_pages ' );

tech