Closed ColinFrick closed 1 year ago
Extend RequireAuth to allow multiple roles in the withRole parameter.
withRole
I was unable to add a test with the mocked up fetch call, but I added it with a static context provider. Hope that is sufficient.
Closes #50
@mooreds
Released 0.26 which includes this fix.
What is this PR and why do we need it?
Extend RequireAuth to allow multiple roles in the
withRole
parameter.I was unable to add a test with the mocked up fetch call, but I added it with a static context provider. Hope that is sufficient.
Pre-Merge Checklist (if applicable)
Closes #50