In this case, you need to create roles with permission per pages. If you have not permission per pages and take out the Object ID 0 for pages, you will forbid pages access.
First of all, you need to prepare good security plan and then make this on production.