pub fn change_permission_canister(
    canister: Principal,
    permission: bool
) -> Result<String, String>
Expand description

Changes the permission of a canister.

This function updates the permission of a specified canister.

§Arguments

  • canister - The principal of the canister.
  • permission - The new permission status.

§Returns

  • Result<String, String> - The result of the update operation.