0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/data
Austin Burdine 777247cbc7 Contributor Role (#9315)
closes #9314 

* added fixtures for contributor role
* update post api tests to prevent contributor publishing post
* update permissible function in role/user model
* fix additional author code in invites
* update contributor role migration for knex-migrator v3
* fix paths in contrib migration
* ensure contributors can't edit or delete published posts, fix routing tests [ci skip]
* update db fixtures hash
* strip tags from post if contributor
* cleanup post permissible function
* excludedAttrs to ignore tag updates for now (might be removed later)
* ensure contributors can't edit another's post
* migration script for 1.21
2018-02-07 10:46:22 +01:00
..
db Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
export Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
importer Import lib/common only 2017-12-12 10:28:13 +01:00
meta Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
schema Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
validation Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
xml/sitemap Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00