Problem/Motivation
When a iframe has been removed because of the removal rules, a moderator might have trouble finding out why it's iframe is not being displayed.
Proposed resolution
Create a permission "Allowed to be notified about removed iframes on current page".
If a user has acces to the above mentioned permission, show them a message about the removed iframe, with some additional information like the URL that was being framed.
Remaining tasks
N/a
User interface changes
N/a
API changes
N/a
Data model changes
N/a
Comments
Comment #2
yookoala commentedThanks for the suggestion.
Let's say we can find a way to detect if an iframe is removed by this method, how do you propose the site admin to be notified?
I can think of 3 different ways:
I'd prefer the later 2 because it's less tricky to implement.
Comment #3
nvakenI think 2 and 3 are fine, where the third one seems mandatory to me; when saving a node I'd like to be immediately notified of the removed iframe.
Comment #4
yookoala commentedGiven the way pages are cached, body is usually only rendered once for a long while. And a messenger api will only be triggered on this first render.
It might not be possible to show the message on the filtered page everytime (i.e. behaviour 3 I mentioned).
Comment #5
nvakenI would be fine with showing the flash message only on a save event, noticing me as moderator of the content that the just-saved content contains a iframe that does not show. Something like:
`Warning: the iframe with the URL has been removed since it is not permitted. Contact site admin to add this URL to the whitelist.`