Ghost/core/server/models/base
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
..
index.js Add access rules bookshelf plugin 2015-11-16 12:24:01 +00:00
token.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
utils.js Move cross-table api counts into plugin 2015-11-03 14:09:38 +00:00