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

Need to have a specific permissions in the API frontend to allow the email preview #8153

Open
fdurand opened this issue May 15, 2024 · 2 comments
Assignees

Comments

@fdurand
Copy link
Member

fdurand commented May 15, 2024

Describe the bug
If you connect with an account who don't have the ALL permission and you are able to create local account then the email preview is empty since you don't have the ALL permission

@fdurand
Copy link
Member Author

fdurand commented May 15, 2024

Quick fix is to add:

adminRoleMapping{prefix: apiPrefix + "/email/preview", role: ALLOW_ANY},

@fdurand
Copy link
Member Author

fdurand commented May 16, 2024

This endpoint too:

adminRoleMapping{prefix: apiPrefix + "/email/send", role: ALLOW_ANY},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants