Skip to main content

event_stream_allowed_by_scope

Function event_stream_allowed_by_scope 

Source
pub fn event_stream_allowed_by_scope(
    row: &Value,
    user_id: i64,
    tenant_id: i64,
) -> bool
Expand description

Checks whether one event row is visible within a user and tenant scope.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::event_stream_allowed_by_scope holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::event_stream_allowed_by_scope(todo!(), 1, todo!());