chromaui / addon-visual-tests

Visual Tests addon for Storybook
MIT License
33 stars 2 forks source link

Show eyebrow and lock review button when user has no `REVIEWER` permission #97

Closed ghengeveld closed 12 months ago

ghengeveld commented 1 year ago

Depends on https://github.com/chromaui/chromatic/pull/7717

📦 Published PR as canary version: 0.0.73--canary.97.0da4dcd.0
:sparkles: Test out this PR locally via: ```bash npm install @chromaui/addon-visual-tests@0.0.73--canary.97.0da4dcd.0 # or yarn add @chromaui/addon-visual-tests@0.0.73--canary.97.0da4dcd.0 ```
linear[bot] commented 1 year ago
AP-3446 Don't show accept button if user doesn't have review permission

If the user has only `VIEWER` permission on the project, we should not show the accept button or grey it out.