fix(pages): add canEdit to page deletion permission check