Add group_texture node_type on new projects

This commit is contained in:
Francesco Siddi 2016-05-18 14:55:09 +02:00
parent f448dce9fc
commit b4531ab298
2 changed files with 2 additions and 4 deletions

View File

@ -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.

View File

@ -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': {}
},