junobuild_shared::controllersFunction caller_is_observatory
Source pub fn caller_is_observatory(caller: UserId) -> bool
Expand description
Checks if the caller is the observatory.
§Arguments
caller
: UserId
of the caller.
§Returns
true
if the caller matches the observatory’s principal, otherwise false
.