Ghost/core/server/api
Jacob Gable 0dc6dc29a7 Add apps permissable checks in posts and users
Closes #2738

- Re-introduce the TargetModel.permissable interface check in the
regular permission flow path
- Pass loadedPermissions, hasUserPermission and hasAppPermission to
permissable interface to reduce logic necessary
- Refactor recursive call to pass original arguments but with actual
model
- Refactor canThis(this.user) use in api/posts.js to just canThis(this)
2014-05-14 09:22:25 -05:00
..
db.js Merge pull request #2719 from appleYaks/import-backward-compatible 2014-05-11 16:17:17 +01:00
index.js Add distinct error classes 2014-05-09 12:11:29 +02:00
mail.js Move mail api to json/api format 2014-05-13 17:34:37 +01:00
notifications.js Add distinct error classes 2014-05-09 12:11:29 +02:00
posts.js Add apps permissable checks in posts and users 2014-05-14 09:22:25 -05:00
settings.js Ensure settings values are strings before saving 2014-05-13 05:36:18 +00:00
tags.js Tag API: Primary Document Format 2014-04-20 19:48:59 -05:00
users.js Add distinct error classes 2014-05-09 12:11:29 +02:00