5bf3fe9cb8
closes https://github.com/TryGhost/Team/issues/2190 - added a guard around the tier fetches in `membersUtils` service so the fetch doesn't occur unless we have a logged in user and they aren't a contributor - extracted the `withPermissionsCheck` mirage util function and added role checks around the mocked tiers endpoints - added an acceptance test that loads the content screen and creates a draft post as a contributor to help catch regressions |
||
---|---|---|
.. | ||
config | ||
factories | ||
fixtures | ||
models | ||
scenarios | ||
serializers | ||
.eslintrc.js | ||
config.js | ||
routes-dev.js | ||
routes-test.js | ||
utils.js |