0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/models
David Arvelo 87cda81c84 Sanitize models' attributes/options before passing to bookshelf/knex
closes #2653
- enforce strict whitelists for model methods
- create a class method that reports a model method's valid options
- create a class method that filters a model's valid attributes from data
- create a class method that filters valid options from a model method's options hash
2014-05-06 23:02:49 -04:00
..
app.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
appField.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
appSetting.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
base.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
index.js Consistency in model method naming 2014-05-06 00:36:42 +01:00
permission.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
post.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
role.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
session.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
settings.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
tag.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
user.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00