Added permissions for editing locked pages