Make filters not visible in GUI
@@ -241,7 +241,7 @@ async def add_filters_pipeline(request: web.Request) -> web.Response:
# Config update for filter pipeline and a change callback after category children creation
await cf_mgr.set_category_item_value_entry(user_name, config_item, {'pipeline': new_list})
else: # No existing filters, hence create new item 'config_item' and add the "pipeline" array as a string
- new_item = dict({config_item: {'description': 'Filter pipeline', 'type': 'JSON', 'default': {}}})
+ new_item = dict({config_item: {'description': 'Filter pipeline', 'type': 'JSON', 'default': {}, 'readonly':'true'}})
new_item[config_item]['default'] = json.dumps({'pipeline': filter_list})
await _add_child_filters(storage, cf_mgr, user_name, filter_list)
await cf_mgr.create_category(category_name=user_name, category_value=new_item, keep_original_items=True)
