0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test
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
..
functional allow api requests to be made with the access token as a query parameter 2015-11-12 11:26:18 -06:00
integration Merge pull request #6037 from ErisDS/pagination 2015-11-03 13:53:18 +01:00
unit Add access rules bookshelf plugin 2015-11-16 12:24:01 +00:00
utils Switch frontend controller to use new filter param 2015-10-26 09:40:19 +00:00
.jshintrc