#4450 - Improve handling around lost/missing Comcode permissions

Identifier #4450
Issue type Feature request or suggestion
Title Improve handling around lost/missing Comcode permissions
Status Completed
Handling member Chris Graham
Version 10.0.33
Addon core
Description 1) If a user does not have privilege to bypass the HTML inclusion-list, then try and simplify down overly-complex HTML to something that matches it, with special care to images and links.
2) Add an HTML comment when something is filtered so webmasters can see a cause in the HTML source.
3) If a staff member adds a Comcode page, then subsequently is deleted or loses HTML/Comcode-dangerous privileges, it will cause an issue after the Comcode Page cache is flushed. Store a flag in the database that indicates they had those privileges at the time of them editing the page and let that flag take precedence when repopulating the cache.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4450 (Improve handling around lost/missing Comcode permissions) (a12252d2) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated