Details
Description
As admin, go into a course, and delete the settings block.
You have deleted the settings block for all users on the entire system (and can do the same for Navigation).
I think these two blocks should not display delete buttons at all in the GUI when editing is on.
Can we put a check in the block drawing codefor a new method in the block that prevents the delete button showing?
I am a bit hesitant about allowing block authors to disable delete. Perhpas a hard-coded list, or $CFG->undeletableblocktypes would be better.