Ghost/core/test/unit/permissions
Hannah Wolfe 6760ccc8ec Permissions: minor refactors (#9104)
refs #9043

- Cleanups / refactors to make the code more manageable
- Move remaining code out of index.js 
   - Only "init" function is left. Actions map cache and init function is based heavily on the settings cache module
- refactor the odd way of exporting
   - This was cleaned up naturally by moving the actionsMap object out
- rename "effective" -> "providers"
  - "Providers" provide permissions for different things that can have permissions (users, apps, in future clients).
2017-10-05 21:01:34 +02:00
..
can-this_spec.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
index_spec.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
parse-context_spec.js Permissions: code cleanup & basic unit tests (#9037) 2017-09-25 11:17:06 +02:00
providers_spec.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
public_spec.js Permissions: code cleanup & basic unit tests (#9037) 2017-09-25 11:17:06 +02:00