pub fn check_read(ctx: &Ctx<'_>, path: &Path) -> Result<()>
A PermissionDeniedError when the realm’s read grant does not cover path.
PermissionDeniedError
read
path