Set entitlement policies
Policies decide how an entitlement may be activated, for how long, and which builds of your application it covers. You set them on an entitlement’s Rules tab (or capture them in an offer so every grant inherits them). They combine — a grant can be, say, a subscription with floating seats and a trial.
Seat allocation
Section titled “Seat allocation”How many devices or users may run at once, and how a seat is held.
- Maximum number of device activations — the seat counter for the entitlement: how many devices may hold a license at once.
- Maximum activations per user — optional: the most devices one signed-in user may hold on the
entitlement at once, so a single user can’t take every seat. It counts the user’s live seats: a
floating seat that was released or whose lease ran out frees a place, while a node-locked seat
and a borrowed seat still count. A new activation by a user at the limit is refused with
license.user_activation_limit_reached; a device that already holds its seat renews it as usual. Anonymous activations, and offline files you issue yourself, have no user behind them, so the limit never refuses them: they count only against Maximum number of device activations. An offline license a signed-in customer issues for their own device counts as theirs. Leave it empty for no limit. - Floating license — on by default: a device holds its seat while its lease is alive, so the seat frees when the device releases it or its lease runs out, and another device can take it. Turned off, the license is node-locked: the seat stays with its device after the lease runs out, until the device releases it or you release, deactivate or block it (see Free, deactivate or block a license). Either way, a device whose lease ran out renews it before its license works again. Turning floating on frees the node-locked seats whose lease already ran out. Prefer floating on virtual machines: copies with an identical fingerprint share one seat, copies with a different one each take a seat, and a node-locked seat stays taken after the VM is gone.
- Allow borrowing — lets a device borrow its seat for up to the Maximum borrow duration, so it can work offline without losing the seat. Your application asks for the borrow through the SDK; the lease then runs for the borrowed time, neither a renewal nor a shorter borrow cuts it short, and releasing the seat ends it early. A borrow ends no later than the license itself.
- Allow offline activation — lets you activate a machine that cannot connect: the customer sends a request file and you return a signed response from the Offline activation page. It is off by default, and an entitlement made from an offer takes the offer’s setting. While it is off, those requests are refused. Online activation is not affected. An offline device cannot release its seat itself: a floating seat frees only when its lease runs out, and a node-locked seat only when you release it.
- License lease time — how long an activated session is valid before it must check in to renew. Zero, the default, means the lease never runs out, so a seat frees only when it is released. A perpetual license can still carry a lease, to force a periodic check-in.
- License grace period — how long a license stays usable past the entitlement’s expiry, so a customer isn’t cut off as soon as a term lapses. It extends the entitlement’s validity, not the lease — it has nothing to do with connectivity.
To change the seat count on a live entitlement, use Add seats rather than editing the policy directly — see Renewals, credits & activations.
Activation
Section titled “Activation”Who — and from where — may redeem this grant.
- Activation security level — Anonymous (a code alone is enough), Identity Verification (email) (the redeemer must confirm an email-verification link), or Identify (log in) (the redeemer must sign in with a user account). The API calls them Anonymous, IdentityVerification and IdentityProvider. A new order or offer starts at Identity Verification (email) while customer sign-up is closed, and at Identify (log in) once sign-up is open (see Who may sign up), so a customer without an account can always complete the default level. What the customer needs to activate lists each level’s steps.
- Allowed IP ranges (CIDR) — an IPv4 or IPv6 CIDR list; when set, activation is refused from any address outside it. The list fails closed: an entry that can’t be parsed admits no one, and an address that can’t be read is refused.
- Restrict to organization members — optionally require the activating user to belong to an organization you pick (not offered for Anonymous).
- Activation codes require a pre-registered device — optionally allow activation only from devices you’ve registered in advance, on the entitlement’s Access tab, under Devices.
Plan changes
Section titled “Plan changes”Whether a customer’s plan-change request needs a person to approve it. The default is RequireApproval — requests are held in the plan requests queue until decided. Switch to AutoApprove where self-serve moves are fine; a request row is still recorded for the audit trail. The Rules tab has no switch for this policy; set it through the admin API, as Requiring approval shows.
A trial window that can start on grant or on first activation. Pair it with a subscription so a customer moves from trial to paid automatically. While in trial, the entitlement’s subscription status reads Trialing.
When the trial clock starts. Set Trial start moment on the Trial activation card. Immediately starts the clock when the entitlement is published. After the first license activation starts it when the first device activates, so an entitlement that nobody has activated yet has no trial end. A later activation does not restart the clock.
When a trial applies. A trial applies in one of three cases:
- The entitlement has no assigned plan.
- The trial names a Trial plan, and the entitlement runs on that plan until the trial ends. The plan comes from the Trial usage plan set. When that field is left at Use entitlement assigned plan set, the trial plan comes from the entitlement’s own plan set, so you can pick a higher plan of that set without choosing the set again.
- A billing provider such as Stripe runs the trial.
No trial plan on an entitlement with a plan. Here no trial applies. The customer already
holds the assigned plan from the first activation, so a trial on the same plan changes nothing.
The clock still starts, but the license token carries trial_exp 0 and no trial end, and no
Paid feature is held back. The Trial activation card says that no trial applies, before
and after the first activation. The Trial ends column on the Activations page reads
No trial.
A plan you apply ends the trial. Applying a plan on the Plan tab during a trial ends the trial and counts it as converted. On a live entitlement the plan goes into the draft revision, and the trial ends when you apply that revision. Review and apply… lists the trial’s end among the changes.
Trial status. The Trial activation card shows Not started until the clock starts,
then Running with the end date, and Ended with the date it ended. On an offer, the card
says that each order starts its own trial. The end date reaches the app as trial_exp in the
license token, and as the trial expiration of the license period in the SDK.
When a trial ends with nothing behind it (no plan assigned and no subscription), the entitlement
is Expired. New activations are refused, and so is every renewal of a license a device
already holds: the background refresh, a borrow, a check-in, an offline usage upload. The
device keeps its last license, but nothing renews it: the SDK reports the lease as Stale
once it is past its freshness window, and as StaleLockout once the lease has run out,
where protected use stops until a revalidation the server refuses. A license with no lease
time never goes stale. See
offline, freshness and grace for the lease states.
Time-restricted
Section titled “Time-restricted”Valid between two dates, or for a fixed period after first use. Good for time-boxed licenses, evaluations and event passes. Outside the window the license is not valid yet before it opens, and Expired after it closes.
Not valid before and not valid after both default to not set, so a policy with only a duration is valid from whenever the customer first activates it.
The dates you pick are whole days in UTC: not valid before starts at the beginning of its day, and not valid after ends at the end of it. The period after first use ends at the end of a UTC day too, the day on which it runs out: 30 days from a first activation at 14:37 UTC on 1 March runs to the end of 31 March, UTC. The customer keeps the rest of that last day, up to a day more than the period itself, and a period of a few hours lasts to the end of the day it runs out on. When not valid after comes before the end of the period, the license ends then instead.
Allowed activation hours
Section titled “Allowed activation hours”Optionally, a recurring window on top of the dates: days of the week plus a daily open and close time, in a time zone you choose (empty means UTC). “Office hours” licensing — Mon–Fri 08:00–18:00 Europe/Stockholm.
- Activation outside the window is refused, and no seat is consumed.
- A license activated inside it expires when the window closes, and activates again in the next one. Your application needs no change: it already honors the license’s validity.
- A window whose close time is earlier than its open time spans midnight — 22:00–06:00 is the night shift — and belongs to the day it opens on, so a Friday night shift needs Friday selected, not Saturday.
- Days without times means those whole days; times without days means those hours every day.
- Leave it empty for a date-only restriction.
The time zone is what keeps “08:00–18:00” meaning the same thing to your customer across a daylight-saving change.
Subscription
Section titled “Subscription”Recurring periods with renewal and expiry. It starts when the entitlement is published, or when you press Start Subscription. The renewal unit is a day, month or year (a second through the API), with up to 1200 periods per subscription. The subscription status (Pending, Trialing, Active, Paused, Expired, Canceled) comes from these dates and the entitlement’s state, except Paused, which an admin sets, and is surfaced on the entitlement; renewals extend the current period — see Renewals, credits & activations.
When Stripe bills an entitlement as a subscription, Stripe decides when it ends, so neither that entitlement nor an offer billed that way takes a subscription policy or a time restriction with an end date; set its billing to managed by vendor to keep a renewal schedule of your own. An end date the entitlement already had when Stripe started billing it stays on the entitlement, but it no longer ends the license: the license ends when the Stripe subscription does.
Updates
Section titled “Updates”Which builds of your application the license covers.
- Maximum version — the newest version of your application the license covers, that
version included: one to four numbers separated by dots, such as
2.9. A missing part counts as 0, so2.9and2.9.0.0are the same version, and a maximum of2doesn’t cover 2.1. Each part compares as a number, so2.10is newer than2.9. Leave it empty to cover every version. - Maintenance — when updates end. A build released after maintenance ends is not covered. Set either a fixed updates until date or a maintenance period counted from the entitlement’s first activation (the next one, if it has none yet), not both. The date is a whole day in UTC and covers builds released up to the end of it. The period ends at the end of the UTC day on which it runs out, the same rule as the period after first use of a time restriction.
Neither setting ends the license: the customer keeps using every build it covers for as long as the license lasts. A perpetual license with a year of updates is a perpetual entitlement with a one-year maintenance period.
The SDK in your application checks both settings at every license check, offline too, using the version and release date your application gives it. It refuses a build newer than the maximum version, and a build released after maintenance ended. An application that gives no version is covered only by a license without a maximum version, and one that gives no release date passes the maintenance check. A build the license doesn’t cover gets no features and no usage limits, as for an expired license. See builds the license covers.
The server checks the maximum version too, when a device activates online or by file: a
device whose application reports a newer version is refused with
license.version_not_supported before it takes a seat.
Editing the policy keeps when maintenance started, so a longer period counts from the same activation; removing the policy and setting a new one on an entitlement that has already activated still counts from that first activation. On an offer, each entitlement ordered from it counts the period from its own first activation, while an updates-until date is the same for every order.
Anonymous try
Section titled “Anonymous try”Opens an offer to visitors who have no account at all: the first request from a device earns that device its own short-lived license, and the same one comes back while it lasts. It is set on the offer, not on an entitlement — the offer is what a visitor reaches — so you turn it on where the offer is authored rather than per grant.
The policy and the switch are two settings. The policy holds the plan, lifetime, try code and
limits; the switch Open this offer to visitors without an account (allowAnonymousTry in the
API) is what lets visitors in. With the policy set and the switch off, a try code is answered with
“This try code isn’t available”. The offer also needs its Activation security level set to
Anonymous, because a visitor has no account.
How the license behaves once issued, and what a visitor sees when the offer’s limits are reached, is on Try activation.
Activation-key format
Section titled “Activation-key format”The format of the codes themselves — prefix, sequence number, check character — is a policy of its own, with batch generation (up to 5000 codes per batch) and import. It has its own page: Key formats and batches.
How policies show up at runtime
Section titled “How policies show up at runtime”Policies don’t act alone — the lease, trial, grace and validity bounds, the entitled features and the applied plan are snapshotted into the session at activation. The maximum version and end of maintenance an updates policy sets are read from the current policy whenever the license is reissued. The device checks in to renew the lease and checks out to release its seat. See Activation & sessions for the device side.
Lifecycle steps
Section titled “Lifecycle steps”Compliance → Lifecycle steps is the read-only map of what Oclavex does when a customer event happens, such as a trial ending. Each event runs a list of steps in order. A step shows what happens if it fails, whether it changes the customer’s contract state, whether running it twice is harmless, and where its run is recorded. The steps are part of the product and cannot be configured.
- Issue the grant → Author & publish entitlements
- The model in depth → Entitlements & offers