Ghost/core/server/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
..
actions-map-cache.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
can-this.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
index.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
parse-context.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
providers.js Updated permissions service to handle api keys (#9967) 2019-01-18 11:17:11 +00:00
public.js 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00