Removed permission keys from node type definitions.
This prevents replace_pillar_node_type_schemas() from overwriting existing permissions.
This commit is contained in:
@@ -69,6 +69,4 @@ node_type_asset = {
|
||||
'tags': {'visible': False},
|
||||
'categories': {'visible': False}
|
||||
},
|
||||
'permissions': {
|
||||
}
|
||||
}
|
||||
|
@@ -18,12 +18,4 @@ node_type_blog = {
|
||||
'template': {},
|
||||
},
|
||||
'parent': ['project',],
|
||||
'permissions': {
|
||||
# 'groups': [{
|
||||
# 'group': app.config['ADMIN_USER_GROUP'],
|
||||
# 'methods': ['GET', 'PUT', 'POST']
|
||||
# }],
|
||||
# 'users': [],
|
||||
# 'world': ['GET']
|
||||
}
|
||||
}
|
||||
|
@@ -65,6 +65,4 @@ node_type_comment = {
|
||||
'is_reply': {}
|
||||
},
|
||||
'parent': ['asset', 'comment'],
|
||||
'permissions': {
|
||||
}
|
||||
}
|
||||
|
@@ -28,6 +28,4 @@ node_type_group = {
|
||||
'notes': {'visible': False},
|
||||
'order': {'visible': False}
|
||||
},
|
||||
'permissions': {
|
||||
}
|
||||
}
|
||||
|
@@ -50,5 +50,4 @@ node_type_page = {
|
||||
'attachments': {'visible': False},
|
||||
},
|
||||
'parent': ['project', ],
|
||||
'permissions': {}
|
||||
}
|
||||
|
@@ -55,5 +55,4 @@ node_type_post = {
|
||||
'attachments': {'visible': False},
|
||||
},
|
||||
'parent': ['blog', ],
|
||||
'permissions': {}
|
||||
}
|
||||
|
@@ -27,11 +27,4 @@ node_type_storage = {
|
||||
'backend': {}
|
||||
},
|
||||
'parent': ['group', 'project'],
|
||||
'permissions': {
|
||||
# 'groups': [{
|
||||
# 'group': app.config['ADMIN_USER_GROUP'],
|
||||
# 'methods': ['GET', 'PUT', 'POST']
|
||||
# }],
|
||||
# 'users': [],
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user