by Joseph Rézeau.
I am reviewing bug CONTRIB-1243 Public questionnaires in use in other courses should not be deletable (or warning should be issued).
Which brings the question: Can resources and activities control the Delete action? I mean, when, in Edit mode, a user (teacher) clicks the Delete icon on a resource or activity on a course front page, is any "hook" or "event" sent to the particular activity/resource so it can react and, for example, "refuse" to be deleted in a given context?
Joseph