2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/api
Hannah Wolfe 666a616551 Add access rules bookshelf plugin
refs #5614

- change isPublicContext to detectPublicContext
  - behaviour now expands the context object out
  - this is a bit of a sideeffect, but this is the simplest change
    that makes it possible to use the context in the model layer without
    significant wider changes
- add new access rules plugin
  - takes a context object as part of `forge()` & caches it on the model instance
  - provides helper functions for testing access rules later on
2015-11-16 12:24:01 +00:00
..
authentication.js Don't return from sending welcome mail 2015-08-25 09:08:11 +01:00
clients.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
configuration.js Move Public API behind labs flag 2015-11-02 14:18:58 +01:00
db.js db api endpoint validation error refactor 2015-10-25 09:20:13 +08:00
index.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
mail.js Mail consolidation 2015-08-20 11:36:14 +02:00
notifications.js Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
posts.js Disallow staticPages from public API 2015-11-04 10:03:27 +01:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js Make the {{navigation}} helper global 2015-02-28 12:53:00 +00:00
slugs.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
tags.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
themes.js Refactor themes endpoint with pipeline 2015-10-22 12:17:16 +02:00
upload.js Add support for zip import 2014-12-10 20:21:06 +00:00
users.js Remove featured, tag, author & role API params 2015-10-27 10:53:51 +00:00
utils.js Add access rules bookshelf plugin 2015-11-16 12:24:01 +00:00