Limit the editing to a custom directory path

Created on 28 September 2011, over 13 years ago
Updated 6 January 2025, about 1 month ago

We have a scenario where the owner of the "final" website wants to edit some css as well but we do not want them to edit neither module nor theme nor any other system css files. Therefore we always include a custom.css file from the public files directory and want to allow them to edit just that one file and none of the others.

Please find attached a patch which does exactly that including the settings enhancement where you can switch between custom mode on or off.

BTW, this also fixes a bug where the css.js was calling .error() which was refused because that's not a function. I have no idea when and why that's called but just commenting that makes it work nicely.

What do you think about that feature?

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024