0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/test
Jacob Gable 88d82ff441 canThis() improvements
- Handle passing undefined user to canThis
  - Add existence check to parseContext if statement
  - Add unit test that passes undefined to canThis
- Allow internal canThis() checks
  - Allow passing 'internal' or { internal: true } as context
  - Do not lookup user permissions unless context.user found
  - If context.internal, resolve immediately
  - Add unit tests for passing 'internal' and { internal: true }
2014-04-16 18:17:43 +02:00
..
functional Move post API to primary document format 2014-04-16 12:09:03 +02:00
integration Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
unit canThis() improvements 2014-04-16 18:17:43 +02:00
utils Adds additional fields to apps schema. 2014-04-16 18:16:10 +02:00
blanket_coverage.js Coverage report task fix for Windoze 2013-11-11 20:56:36 +00:00