Skip to content

feat: allow composite queries to call the management canister query methods - #342

Open
mraszyk wants to merge 2 commits into
mainfrom
mraszyk/composite-query-management-canister
Open

feat: allow composite queries to call the management canister query methods#342
mraszyk wants to merge 2 commits into
mainfrom
mraszyk/composite-query-management-canister

Conversation

@mraszyk

@mraszyk mraszyk commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Reflect dfinity/ic#10987: composite query methods and their callbacks can call the management canister query methods canister_status, canister_metrics, fetch_canister_logs, and list_canisters.

Such a call is not routed based on the method name and the argument: it is always executed against the state of the subnet hosting the calling canister and can thus only target canisters hosted by that subnet. The access control is the same as for the corresponding query call submitted by a user, with the calling canister as the caller. Calls to all other management canister methods are rejected.

…ethods

Reflect dfinity/ic#10987: composite query methods and their callbacks can
call the management canister query methods canister_status,
canister_metrics, fetch_canister_logs, and list_canisters.

Such a call is not routed based on the method name and the argument: it is
always executed against the state of the subnet hosting the calling
canister and can thus only target canisters hosted by that subnet. The
access control is the same as for the corresponding query call submitted
by a user, with the calling canister as the caller. Calls to all other
management canister methods are rejected.
@github-actions github-actions Bot added the interface-spec Changes to the IC interface specification label Aug 12, 2026
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown

🤖 Here's your preview: https://k7oic-piaaa-aaaam-ai7uq-cai.icp0.io

@mraszyk
mraszyk marked this pull request as ready for review August 12, 2026 13:35
@mraszyk
mraszyk requested review from a team as code owners August 12, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC interface specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant