Skip to content

Commit

Permalink
chore: [IC-272] fix ic00_permissions comment for fetch_canister_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymar committed Jan 31, 2024
1 parent 1210bfc commit 5280b28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rs/execution_environment/src/ic00_permissions.rs
Expand Up @@ -140,7 +140,9 @@ impl Ic00MethodPermissions {
},
Ic00Method::FetchCanisterLogs => Self {
method,
allow_remote_subnet_sender: false, // Only users can call this method, not canisters (also no nested composite query calls).
// `FetchCanisterLogs` method is only allowed for messages sent by users,
// all inter-canister call permissions are irrelevant and therefore set to false.
allow_remote_subnet_sender: false,
allow_only_nns_subnet_sender: false,
},
Ic00Method::ProvisionalCreateCanisterWithCycles => Self {
Expand Down

0 comments on commit 5280b28

Please sign in to comment.