Skip to main content

is_admin

Function is_admin 

Source
pub fn is_admin(token: &str) -> bool
Expand description

Check if a requester has admin privileges. In production, this would check an admin token or mTLS client cert.