Ghost/ghost/admin/mirage/config
Kevin Ansfield 5bf3fe9cb8 🐛 Fixed error preventing admin area being usable by staff users with Contributor role
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
2022-10-31 12:01:39 +00:00
..
api-keys.js
authentication.js
config.js
custom-theme-settings.js
emails.js
integrations.js
invites.js
labels.js
members.js 🐛 Fixed error preventing admin area being usable by staff users with Contributor role 2022-10-31 12:01:39 +00:00
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 🐛 Fixed error preventing admin area being usable by staff users with Contributor role 2022-10-31 12:01:39 +00:00
uploads.js
users.js
webhooks.js