changed = true;
}
// Update access-permissions
if (pageModel.has("access-permissions")) {
Permission permission = getPermission(pageModel, false, "access-permissions");
page.setAccessPermission(permission);
changed = true;
}
// Update edit-permissions
if (pageModel.has("edit-permissions")) {
Permission permission = getPermission(pageModel, true, "edit-permissions");
page.setEditPermission(permission);
changed = true;
}
// Save changes