Tighten the loans:export policy
Remove one role from the allow-list. Every user-delegated loans:export request from EU staff fails from the next call onward.
Edit rule
Define who can get which scopes from which targets.
Subjects
Select who this rule applies to.
- Key *user.roles▾Operator *Contains▾loan-manager
- Key *user.roles▾Operator *Contains▾eu-staffus-staffRemoving
eu-staff is still on the export allow-list. Click Remove eu-staff to take it off — leaving user.roles Contains [us-staff].
Targets
Select the Resources (APIs, MCP Servers) or Connections this rule grants access to. For each, choose which scopes can be issued.
Grant types
Choose which grant types this rule permits. This rule applies only to requests using the selected types.
The policy editor isn't an emergency tool. Look at loans:approve — it has had a condition since the MCP server was first wired to Descope. The eu-staff removal you just made and the day-one loan-manager gate are the same kind of policy object, written the same way.
- user.rolesContains["loan-manager"]