How to have ability to edit and access records to publish a page