mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
removed removed default roles from mongo id attribute
This commit is contained in:
parent
c286e11d41
commit
49c92a9ec2
1 changed files with 0 additions and 3 deletions
|
|
@ -270,14 +270,11 @@ class CustomAttributes(BaseAction):
|
||||||
|
|
||||||
def create_hierarchical_mongo_attr(self, session, event):
|
def create_hierarchical_mongo_attr(self, session, event):
|
||||||
# Set security roles for attribute
|
# Set security roles for attribute
|
||||||
default_role_list = ("API", "Administrator", "Pypeclub")
|
|
||||||
data = {
|
data = {
|
||||||
"key": CUST_ATTR_ID_KEY,
|
"key": CUST_ATTR_ID_KEY,
|
||||||
"label": "Avalon/Mongo ID",
|
"label": "Avalon/Mongo ID",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"default": "",
|
"default": "",
|
||||||
"write_security_roles": default_role_list,
|
|
||||||
"read_security_roles": default_role_list,
|
|
||||||
"group": CUST_ATTR_GROUP,
|
"group": CUST_ATTR_GROUP,
|
||||||
"is_hierarchical": True,
|
"is_hierarchical": True,
|
||||||
"config": {"markdown": False}
|
"config": {"markdown": False}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue