Add Environment-Specific Approval Rules
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
Estimated time: 4 minutes
The first walkthrough used a simple default approval policy. For the template-demo app, make the flow more realistic by applying different approval rules to different environments.
1. Open The Approval Policy For The App
- Open the
template-demoapp. - Go to
Approval Policy.
2. Set A Default Rule
Set a simple default rule first:
Approver Users:rootRequired Approvals:1
Save the default policy.
3. Add A Dev Rule
Create an environment-specific rule for dev:
Environment:devApprover Users:rootRequired Approvals:1
4. Add A Staging Rule
Create a separate environment-specific rule for staging.
If your local walkthrough still only has the root user, it is fine to keep the same approver and simply make the environment boundary explicit. The important part is understanding that approval can differ by environment while remaining part of the app approval policy.