0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/models
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
..
base Avoid knex warning when destroying a user 2018-01-27 12:31:51 +01:00
plugins Deleted bookshelf access plugin 2018-01-25 17:54:28 +01:00
accesstoken.js Import lib/common only 2017-12-12 10:28:13 +01:00
app-field.js
app-setting.js
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
permission.js
post.js Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
refreshtoken.js
role.js Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
settings.js Import lib/common only 2017-12-12 10:28:13 +01:00
subscriber.js Import lib/common only 2017-12-12 10:28:13 +01:00
tag.js Import lib/common only 2017-12-12 10:28:13 +01:00
user.js Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
webhook.js Import lib/common only 2017-12-12 10:28:13 +01:00