Skip to content

Role based Auth #1792

Answered by davidpdrsn
Gaelik-git asked this question in Q&A
Feb 27, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Maybe you can use a tuple UserWithAnyRole<(Admin, Reader)>. Can't put Admin and Reader into an array since they don't have the same type.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gaelik-git
Comment options

Answer selected by Gaelik-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants