0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core/server
Jacob Gable 0dc6dc29a7 Add apps permissable checks in posts and users
Closes 

- 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
..
api Add apps permissable checks in posts and users 2014-05-14 09:22:25 -05:00
apps Add distinct error classes 2014-05-09 12:11:29 +02:00
config ACL and strict rules for Settings API 2014-05-07 10:56:03 -05:00
controllers Move mail api to json/api format 2014-05-13 17:34:37 +01:00
data Add distinct error classes 2014-05-09 12:11:29 +02:00
errors Move mail api to json/api format 2014-05-13 17:34:37 +01:00
helpers Add distinct error classes 2014-05-09 12:11:29 +02:00
middleware Add distinct error classes 2014-05-09 12:11:29 +02:00
models Add apps permissable checks in posts and users 2014-05-14 09:22:25 -05:00
permissions Add apps permissable checks in posts and users 2014-05-14 09:22:25 -05:00
routes Merge branch 'ember' 2014-05-07 22:28:29 +01:00
storage Add distinct error classes 2014-05-09 12:11:29 +02:00
views Merge branch 'master' into ember 2014-04-21 18:35:38 +01:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Improvements for models 2014-02-19 14:57:26 +01:00
filters.js Implement filter context 2014-04-06 15:43:11 +00: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
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Add distinct error classes 2014-05-09 12:11:29 +02:00
xmlrpc.js Add distinct error classes 2014-05-09 12:11:29 +02:00