---
source: cedar-policy-formatter/src/pprint/fmt.rs
expression: formatted
input_file: cedar-policy-cli/sample-data/sandbox_a/policies_3.cedar
---
// Everyone can view the photos in the "jane_vacation" album
// (and list the photos in the album)
@id("jane_vacation public")
permit (
  principal,
  action in [Action::"view", Action::"listPhotos"],
  resource in Album::"jane_vacation"
);
