0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/data
Hannah Wolfe 0565027900 Refactoring fixtures
refs #2600, refs #2379

Refactoring fixtures to make permission management a little easier
- Separate fixtures into JSON file and split permissions fixtures from other fixtures
- make fixture migrations more robust by fetching objects, not relying on
  ids and checking before adding
- changed owner fixture slightly to remove any confusion between the 'Owner' role and 'Ghost Owner' user.
- moved 003 fixture versions out of config into logic, possibly not a good
  idea
- refactored permissions fixtures and added permissions_roles fixtures to
  make it easier to read / add
2014-07-14 15:52:47 +01:00
..
export Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
fixtures Refactoring fixtures 2014-07-14 15:52:47 +01:00
import Refactor API arguments 2014-05-15 10:41:05 +01:00
migration Refactoring fixtures 2014-07-14 15:52:47 +01:00
utils Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
validation Fix active theme selector. Add validation to API. 2014-07-09 22:14:33 +00:00
versioning Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
default-settings.json
schema.js Fix server-side validation 2014-07-03 14:57:57 +00:00