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