joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Add additional context methods for role-checking

Open rglover opened this issue 10 months ago • 1 comments

Just a nice UX idea. Add req.context.ifUserHasRole() and req.context.ifUserDoesNotHaveRole(). Checks for a current user in the context and then validates their role. Behavior is identical to existing context methods.

rglover avatar Feb 21 '25 13:02 rglover