0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core
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
..
client Fix auth regressions after ESA 1.0 upgrade 2015-11-12 12:56:27 +00:00
server Add access rules bookshelf plugin 2015-11-16 12:24:01 +00:00
shared
test Add access rules bookshelf plugin 2015-11-16 12:24:01 +00:00
index.js