Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom user for stories in story book #1297

Open
ThibaudDauce opened this issue Feb 13, 2024 · 0 comments
Open

Custom user for stories in story book #1297

ThibaudDauce opened this issue Feb 13, 2024 · 0 comments
Labels
✨ Front Pour ce qui relève du design de l’interface

Comments

@ThibaudDauce
Copy link

The current user is hard-coded in .storybook/preview-head.html. It doesn't allow for custom roles for exemple in the component MarkAsNoSpam (#352) we needed to add the role admin to have the button shown.

@nicolaskempf57 nicolaskempf57 transferred this issue from datagouv/udata-front Feb 13, 2024
@nicolaskempf57 nicolaskempf57 added the ✨ Front Pour ce qui relève du design de l’interface label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Front Pour ce qui relève du design de l’interface
Projects
Status: 🛠 Doing
Development

No branches or pull requests

2 participants