2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/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
..
actions-map-cache.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
can-this.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
index.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
parse-context.js 🔥 Removed certain fields from public user response (#9069) 2017-09-28 14:00:52 +01:00
providers.js Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
public.js Permissions: code cleanup & basic unit tests (#9037) 2017-09-25 11:17:06 +02:00