Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ key
Method
key
core/station/impl/src/models/user.rs:43–45 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
41
42
impl ModelKey<UserKey> for User {
43
fn key(&self) -> UserKey {
44
UserKey { id: self.id }
45
}
46
}
47
48
#[derive(CandidType, Deserialize, Debug, Clone)]
Callers
15
test_execute_request_completed
Function · 0.45
test_is_external_canister
Function · 0.45
test_total_accounts_metric
Function · 0.45
test_assets_balance_metric
Function · 0.45
inactive_user_has_no_access
Function · 0.45
fail_user_has_access_to_admin_resource
Function · 0.45
admin_user_has_access_to_admin_resource
Function · 0.45
user_has_access_to_admin_resource
Function · 0.45
group_with_read_access_should_not_have_other_access
Function · 0.45
group_has_access_to_resource_by_id
Function · 0.45
user_has_access_to_resource_by_id
Function · 0.45
user_has_access_to_any
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_execute_request_completed
Function · 0.36
test_is_external_canister
Function · 0.36
test_total_accounts_metric
Function · 0.36
test_assets_balance_metric
Function · 0.36
test_initialize_job_timers
Function · 0.36
test_sync_call
Function · 0.36
test_get
Function · 0.36
test_create_with_circular_reference
Function · 0.36
test_edit
Function · 0.36
test_edit_with_circular_reference
Function · 0.36
test_remove
Function · 0.36
get_permission_dependencies_finds_users
Function · 0.36