fix permissions check on linked pages