pub fn only_admin() -> Result<(), String>
Checks if the caller is the admin. This is typically used in conjunction with the modifiers macro
modifiers
#[update] #[modifiers("only_admin")] fn my_func() {}