joystick
joystick copied to clipboard
Add additional context methods for role-checking
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.