You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every API call needs to validate a user and most need to check role permissions. Currently, this code is repeated. We need to abstract user lookup and role validation into a validateUser function.
Every API call needs to validate a user and most need to check role permissions. Currently, this code is repeated. We need to abstract user lookup and role validation into a validateUser function.