From 06ea62edb65100ce2e45449ffe1a183cbc585226 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Mon, 28 Dec 2020 12:01:20 +0100 Subject: [PATCH] custom attributes custom attributes has template with security roles --- .../template_custom_attribute.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/module_settings/template_custom_attribute.json diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/module_settings/template_custom_attribute.json b/pype/tools/settings/settings/gui_schemas/system_schema/module_settings/template_custom_attribute.json new file mode 100644 index 0000000000..57ada0b4a6 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/module_settings/template_custom_attribute.json @@ -0,0 +1,21 @@ +[ + { + "key": "{key}", + "label": "{key}", + "type": "dict", + "children": [ + { + "key": "write_security_role", + "label": "Write roles", + "type": "list", + "object_type": "text" + }, + { + "key": "read_security_role", + "label": "Read roles", + "type": "list", + "object_type": "text" + } + ] + } +]