Ghost/core/server/models
Fabien O'Carroll 48ebbf94d3
Permitted require option for edit, destroy, findOne (#9948)
no-issue

With the new framework it is hard to handle 404 errors outside of the
serialization layer, this is because we cannot force destroy, edit or
findOne to error if the model is missing. This lets us do that.
2018-10-12 18:00:21 +07:00
..
base Permitted require option for edit, destroy, findOne (#9948) 2018-10-12 18:00:21 +07:00
plugins
relations Updated Post and Author model permissible method (#9966) 2018-10-09 18:03:13 +07:00
accesstoken.js
api-key.js Added refreshSecret method to ApiKey model (#9947) 2018-10-05 15:51:13 +07:00
app-field.js
app-setting.js
app.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
client-trusted-domain.js
client.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
index.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
integration.js Updated Integration model to use bookshelf relations (#9995) 2018-10-12 16:57:46 +07:00
invite.js Moved custom invite permission to permissible fn 2018-10-05 15:38:14 +02:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
permission.js
post.js 🐛 Fixed migration from v1 to 2.2.1 (#9984) 2018-10-11 09:04:47 +02:00
refreshtoken.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
role.js Stopped api key from assigning the 'Owner' role (#9971) 2018-10-12 15:38:57 +07:00
session.js Created Session Model (#9909) 2018-09-27 14:31:39 +02:00
settings.js Added session_secret setting to schema (#9953) 2018-10-05 12:25:51 +01:00
subscriber.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
tag.js Refactor URL generation from models (#9917) 2018-10-03 15:44:30 +02:00
user.js Added protection for ownership transfer 2018-10-06 21:50:31 +02:00
webhook.js