Ghost/core/server/api
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
..
db.js Unlink import file when finished 2014-03-24 10:51:10 +01:00
index.js Move post API to primary document format 2014-04-16 12:09:03 +02:00
notifications.js
posts.js canThis() improvements 2014-04-16 18:17:43 +02:00
settings.js Add JSON API tests & cleanup 2014-02-28 22:26:03 +00:00
tags.js Add JSON API tests & cleanup 2014-02-28 22:26:03 +00:00
users.js Add JSON API tests & cleanup 2014-02-28 22:26:03 +00:00