Ghost/core/server/permissions
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
..
effective.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
index.js canThis() improvements 2014-04-16 18:17:43 +02:00
objectTypeModelMap.js