mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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):
|
||||
# Set security roles for attribute
|
||||
default_role_list = ("API", "Administrator", "Pypeclub")
|
||||
data = {
|
||||
"key": CUST_ATTR_ID_KEY,
|
||||
"label": "Avalon/Mongo ID",
|
||||
"type": "text",
|
||||
"default": "",
|
||||
"write_security_roles": default_role_list,
|
||||
"read_security_roles": default_role_list,
|
||||
"group": CUST_ATTR_GROUP,
|
||||
"is_hierarchical": True,
|
||||
"config": {"markdown": False}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue