0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/functional/routes/api
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
..
authentication_spec.js Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00
configuration_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
db_spec.js Backup endpoint improvements (#9365) 2018-01-11 16:03:21 +01:00
error_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
notifications_spec.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00
posts_spec.js Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
public_api_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
redirects_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
settings_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
slugs_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
spam_prevention_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
tags_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
themes_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
upload_icon_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
upload_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
users_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00
webhooks_spec.js Speed up routing tests 2017-12-05 12:32:04 +01:00