mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
fc73cd71bb
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. |
||
---|---|---|
.. | ||
can-this_spec.js | ||
index_spec.js | ||
parse-context_spec.js | ||
providers_spec.js | ||
public_spec.js |