Approval policy for an education agent
An education agent answers students and parents, books advising slots, changes enrolments and refunds fees. A grade, an enrolment or a transcript follows a student for years, and a message to the wrong parent is a disclosure that cannot be undone, so anything that changes or releases a record waits for two people. It writes rules for the generator's kinds of action; the guide refuses admission and conduct decisions under their own records.* names and asks the registrar about transcripts, so add its rules for those names too.
If you are not signed in, you sign in or sign up first. You see every rule in your workspace before any is added.
Or change it in the policy generator first: names, limits and how long a request waits. Two-person approval needs Team or above; the other rules need Pro. On Free every request waits for one person instead.
What it decides
Each kind of action the agent takes, the names it sends for it, what happens, and why.
- Look things up
read.*Runs on its own and is recorded.Looking things up changes nothing, so it runs on its own and is still recorded. - Calendar and internal tasks
calendar.*Runs on its own and is recorded.Advising slots, office hours and rooms are easy to move again and say nothing about a student, so bookings run on their own. - Change customer or CRM records
records.*Waits until two different people approve. One no stops it.Grades, enrolments, withdrawals and transcripts follow a student for years, and a withdrawal can change the aid they keep. Ask them under records.* names, and two different people approve each one. - Email or message customers
email.*Waits for a person to approve.A message about a student can disclose their record to someone who may no longer see it. A person reads each one first; for a batch, an owner can approve the first for the rest of that run. - Refund customers
refund.*Runs on its own up to €50.00 each, and no more than €300.00 in total per day (UTC). Anything above waits for a person. Above €1,000.00, or without an amount, two different people must approve.A duplicate fee up to €50 goes back on its own, at most €300 a day in total. Above that a person decides, and above €1,000 two people. - Pay suppliers or move money
payment.*Waits until two different people approve. One no stops it.Disbursing or changing financial aid moves money to a student account. Two different people approve every one, at any amount. - Delete data
delete.*Waits until two different people approve. One no stops it.Student records are kept for set periods, and the record of who saw them must be kept as long as they are. Two different people approve a deletion. - Grant or remove access
access.*Never. The request is refused at once.Course roles, LMS permissions and account resets decide who sees which records. The agent never changes them, so the request is refused at once and the IT desk does it.
The rules
These are the 10 rules the button adds, for every agent or the one agent key you pick. Every “never” and “ask” goes in before any “allow”, and rules you already have stay. When rules disagree the most cautious wins.
[
{
"action": "read.*",
"effect": "allow"
},
{
"action": "calendar.*",
"effect": "allow"
},
{
"action": "records.*",
"approvals": 2,
"effect": "ask"
},
{
"action": "email.*",
"effect": "ask"
},
{
"action": "refund.*",
"effect": "allow",
"limit_amount": "50.00",
"limit_currency": "EUR",
"budget_amount": "300.00",
"budget_currency": "EUR",
"budget_period": "day"
},
{
"action": "refund.*",
"effect": "ask",
"limit_amount": "50.00",
"limit_currency": "EUR"
},
{
"action": "refund.*",
"approvals": 2,
"effect": "ask",
"limit_amount": "1000.00",
"limit_currency": "EUR"
},
{
"action": "payment.*",
"approvals": 2,
"effect": "ask"
},
{
"action": "delete.*",
"approvals": 2,
"effect": "ask"
},
{
"action": "access.*",
"effect": "deny"
}
]The agent’s side
The agent asks before each action under one of these names, such as refund.create, with the amount and currency where money moves, and acts only when the answer says allowed: true. An amount it leaves out never gets past a limit. The requests docs show the call, and the playground lets you try one without signing up.