Ghost/core/test/unit/services/permissions
Fabien O'Carroll fc73cd71bb Updated permissions service to handle api keys (#9967)
refs #9865

- Enabled the permissions module to lookup permissions based on an api_key id.
- Updated the "can this" part of the permissions service to load permissions for any api key in the context, and correctly use that to determine whether an action is permissible. It also updates the permissible interface that models can implement to pass in the hasApiKeyPermissions param.
2019-01-18 11:17:11 +00:00
..
can-this_spec.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
index_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
parse-context_spec.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
providers_spec.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
public_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00