CONTRIB-3523 adobeconnect - improve toggling editing mode
Use $PAGE->user_is_editing() and $PAGE->user_allowed_editing() rather than directly relying on $USER->editing