Add group_texture node_type on new projects
This commit is contained in:
parent
f448dce9fc
commit
b4531ab298
@ -14,6 +14,7 @@ from manage_extra.node_types.asset import node_type_asset
|
||||
from manage_extra.node_types.comment import node_type_comment
|
||||
from manage_extra.node_types.group import node_type_group
|
||||
from manage_extra.node_types.texture import node_type_texture
|
||||
from manage_extra.node_types.group_texture import node_type_group_texture
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
blueprint = Blueprint('projects', __name__)
|
||||
@ -162,6 +163,7 @@ def after_inserting_project(project, db_user):
|
||||
with_permissions(node_type_asset),
|
||||
with_permissions(node_type_comment),
|
||||
with_permissions(node_type_texture),
|
||||
with_permissions(node_type_group_texture)
|
||||
]
|
||||
|
||||
# Allow admin users to use whatever url they want.
|
||||
|
@ -7,9 +7,6 @@ node_type_group_texture = {
|
||||
'order': {
|
||||
'type': 'integer'
|
||||
},
|
||||
'url': {
|
||||
'type': 'string',
|
||||
},
|
||||
'status': {
|
||||
'type': 'string',
|
||||
'allowed': [
|
||||
@ -19,7 +16,6 @@ node_type_group_texture = {
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'url': {},
|
||||
'status': {},
|
||||
'order': {}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user