OpenThink Cloud

Policy examples

Common patterns: feedback forms, submissions and assigned tasks.

Feedback form

Anyone signed in can submit; nobody can read other people's feedback.

json
[
  { "action": "insert", "check": "row.by == me" },
  { "action": "select", "using": "row.by == me" }
]

Graded submissions

Students see only their own submission and can edit it until it is graded; nobody can change the score.

json
[
  { "action": "select", "using": "row.by == me" },
  { "action": "insert", "check": "row.by == me && row[\"Score\"] == null" },
  { "action": "update", "using": "row.by == me && row[\"Score\"] == null", "columns": ["Answer", "Notes"] }
]

Assigned tasks

With a person column Assignee: people see tasks assigned to them or created by them, and assignees can change only the status.

json
[
  { "action": "select", "using": "me in row.Assignee || row.by == me" },
  { "action": "update", "using": "me in row.Assignee", "columns": ["Status"] }
]

Last updated 2026-12-03 UTC. Something wrong or missing? Send feedback.