Function only_owner

Source
pub fn only_owner()
Expand description

Ensures that the caller of a canister method is the owner. Panics if the caller is not the owner.