Use soft-delete for nodes

This commit is contained in:
2016-05-02 17:06:59 +02:00
parent b9367f9944
commit 3e8494e3bf
10 changed files with 9 additions and 19 deletions

View File

@@ -11,7 +11,6 @@ node_type_comment = {
'type': 'string',
'allowed': [
'published',
'deleted',
'flagged',
'edited'
],

View File

@@ -15,7 +15,6 @@ node_type_group = {
'allowed': [
'published',
'pending',
'deleted'
],
},
'notes': {

View File

@@ -15,7 +15,6 @@ node_type_group_texture = {
'allowed': [
'published',
'pending',
'deleted'
],
}
},

View File

@@ -15,7 +15,6 @@ node_type_page = {
'type': 'string',
'allowed': [
'published',
'deleted',
'pending'
],
'default': 'pending'

View File

@@ -15,7 +15,6 @@ node_type_post = {
'type': 'string',
'allowed': [
'published',
'deleted',
'pending'
],
'default': 'pending'

View File

@@ -58,7 +58,6 @@ node_type_project = {
'allowed': [
'published',
'pending',
'deleted'
],
},
# Logo

View File

@@ -13,7 +13,6 @@ node_type_texture = {
'published',
'pending',
'processing',
'deleted'
],
},
# Used for sorting within the context of a group

View File

@@ -579,7 +579,6 @@ projects_schema = {
'allowed': [
'published',
'pending',
'deleted'
],
},
# Latest nodes being edited
@@ -701,6 +700,7 @@ nodes = {
'schema': nodes_schema,
'public_methods': ['GET'],
'public_item_methods': ['GET'],
'soft_delete': True,
}
users = {