Skip to content

Commit b29e83a

Browse files
authored
feat: enable allowed_viewers feature for canister log visibility (#2244)
This PR enables `allowed_viewers` for canister log visibility. EXC-1697
1 parent 9c09cff commit b29e83a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rs/config/src/execution_environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ impl Default for Config {
360360
dirty_page_logging: FlagStatus::Disabled,
361361
max_canister_http_requests_in_flight: MAX_CANISTER_HTTP_REQUESTS_IN_FLIGHT,
362362
default_wasm_memory_limit: DEFAULT_WASM_MEMORY_LIMIT,
363-
allowed_viewers_feature: FlagStatus::Disabled,
363+
allowed_viewers_feature: FlagStatus::Enabled,
364364
}
365365
}
366366
}

rs/execution_environment/tests/canister_logging.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ fn test_log_visibility_of_fetch_canister_logs() {
280280
(
281281
LogVisibilityV2::AllowedViewers(allowed_viewers.clone()),
282282
allowed_viewer,
283-
// TODO(EXC-1675): when disabled works as for controllers, change to ok when enabled.
284-
not_allowed_error(&allowed_viewer),
283+
ok.clone(),
285284
),
286285
(
287286
LogVisibilityV2::AllowedViewers(allowed_viewers.clone()),

0 commit comments

Comments
 (0)