---
source: cedar-policy-formatter/src/pprint/fmt.rs
expression: formatted
input_file: cedar-policy-cli/sample-data/tiny_sandboxes/sample8/policy.cedar
---
permit (
  principal == User::"bob",
  action == Action::"view",
  resource
)
when
{
  principal == resource.owner &&
  principal.score.greaterThanOrEqual(decimal("0.75"))
};
