Is canister_inspect_message valid for inter-canister call?

The canister_inspect_message is not invoked for query calls, inter-canister calls or calls to the management canister.

Suppose I check the permission through the inspect message in a function of my canister, such as requiring the caller to be a specific Principal. So calling my canister from any other canister will pass the check?

From the interface spec:

The canister_inspect_message is not invoked for query calls, inter-canister calls or calls to the management canister.

2 Likes

Yeah, I made a demo and confirmed that calling my canister from any other canister will pass the check.