0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/api/v2/utils
kirrg001 4dcf256371 Added ability to define permission identifier
refs #9866

- by default it used `options.id`, which tells the permission layer the target id
- but some controllers want to use a different identifier
- e.g. settings -> settings.key
- e.g. password changes -> password[0].user_id
2018-10-12 20:02:08 +02:00
..
serializers Added posts controller to v2 2018-10-12 19:21:43 +02:00
validators Added posts controller to v2 2018-10-12 19:21:43 +02:00
index.js
permissions.js Added ability to define permission identifier 2018-10-12 20:02:08 +02:00