Policies
The Policies app in the Manager shows the policies of every part of Velrix: how updates start, the release channel, maintenance windows, connectivity, who may sign up and sign in, password reset, how well new passkeys must be protected, the security profile, whether project networks reach the internet and log their flows, request limits at the edge, backup schedules, hardware thresholds, what happens when an account runs out of money, account and job limits, how long every kind of record is kept, and more. An organisation’s page has the same app for that organisation.
Each part of Velrix keeps and enforces its own policies. The app only shows them and sends your changes to the part they belong to. If a part is not answering, its section says Unavailable; its policies still apply.
Groups
Policies are grouped in tabs: Retention, Security, Limits, Billing, Network, Maintenance and Other. Each tab is a table of the policy, its value, the part of Velrix that holds it, and where it was set. A tab with nothing to show is left out. Search and Differs from default work across every tab. Retention has its own page: Retention.
Choosing the level
Level chooses the whole realm or one of your organisations. With an organisation chosen, Project chooses the whole organisation or one of its projects. On an organisation’s page, only Project is shown.
Some policies exist only at some levels: hardware thresholds and the sign-in rules apply to the whole realm, account limits to an organisation. A policy set at a level it doesn’t apply to is shown there, not set. A project shows its organisation’s limits, which it is held to.
Reading a policy
Every row shows the value that applies and where it was set:
- Here: set at the level you are looking at.
- For the realm: set for the whole installation, and inherited below it.
- From …: set on an organisation or project above this one.
- Default: nothing is set, so the built-in value applies.
A value that differs from its default is marked. Differs from default shows only those. Search finds a policy by its name, its id (updates.windows) or the part it belongs to.
Changing a policy
Choose Change on a row. The form opens under the table. Save sends it to the part the policy belongs to, which checks it and records the change in the audit trail, with who made it. History opens those records.
Where a value is inherited, Use the value above removes the one set here.
Values only an operator can widen
Some policies are limits, such as how many CPU cores one job may ask for, or how long logs are kept. Below the realm, such a value may only be narrower than the one above it. An operator may set any value on any organisation or project, for example 16 cores for one customer while everyone else keeps 4, and that customer’s owners can’t undo or replace it, only narrow it further for their own projects. The row then says Set here by the operator.
Some policies have a floor or a fixed value in law, such as keeping invoices seven years. A value below the floor is refused with the law named; a fixed one is shown read-only with its reason.
Copying policies to another installation
Export saves the policies set at this level as one JSON file. Import on another installation, or later on this one, sets each of them through its own part, as you. A policy that is already the same is left alone. One that installation does not have, or that you may not change, is skipped, and one its part refuses is reported; the rest still apply.