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 |
||
---|---|---|
.. | ||
api-keys.js | ||
authentication.js | ||
config.js | ||
custom-theme-settings.js | ||
emails.js | ||
integrations.js | ||
invites.js | ||
labels.js | ||
members.js | ||
newsletters.js | ||
offers.js | ||
pages.js | ||
posts.js | ||
roles.js | ||
settings.js | ||
site.js | ||
slugs.js | ||
snippets.js | ||
stats.js | ||
tags.js | ||
themes.js | ||
tiers.js | ||
uploads.js | ||
users.js | ||
webhooks.js |