pub fn is_canister_allowed(
    canister: Principal
) -> Result<CanisterPermission, String>
Expand description

Checks if a canister is allowed.

This function checks if a specified canister has the required permissions.

§Arguments

  • canister - The principal of the canister.

§Returns

  • Result<CanisterPermission, String> - The permission status of the canister.