diff options
author | Struan Donald <struan@exo.org.uk> | 2020-10-23 14:28:38 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2020-10-28 09:56:07 +0000 |
commit | cfda101b3006f12280a41adc4b28ca555b867556 (patch) | |
tree | f7f09eeec2cb31c8db33b9d0d819ebd9b84fea54 /web/js/loading-attribute-polyfill.js | |
parent | c5f80e9cd8a896ff469acfa9a90f69a5a7b5243e (diff) |
prevent editing of category names with hardcoded flag
If a category has hardcoded set to 1 in it's extra metadata then prevent
the name being edited in the admin. This is to avoid issues where the
name of the category is used in e.g. layers or other configuration and
changing it breaks things.
Also includes admin interface for setting this that is restricted to
super users only.
Fixes mysociety/fixmystreet-commercial#1992
Diffstat (limited to 'web/js/loading-attribute-polyfill.js')
0 files changed, 0 insertions, 0 deletions