fixed editing pages without permissions