Core concepts
Learn the words you see in PermitPlane, so you can set up licensing for your app.
Words at a glance
| Word | In plain words |
|---|---|
| Product | One app you sell. |
| Sandbox | The test copy of a product. It never touches real customers. |
| Production | The live copy of a product, for real customers. |
| Policy | The rules for new licences of a product. |
| Licence | A customer's right to use your app, with a paid-through date. |
| Licence key | The secret code your customer types into your app. |
| Installation | One device where a licence is active. |
| Floating seat | One app running at the same time, on any device. |
| Offline grant | Signed licence data that lets the app run offline. |
| Entitlement | A feature or limit a licence unlocks. |
Set the rules in a policy
Each policy sets:
| Rule | Allowed values |
|---|---|
| Installation limit (devices per licence) | 1 to 100 (up to 10,000 for a floating licence) |
| Trial length | 1 to 90 days, default 14 |
| Offline days for a paid licence | Up to 21 |
- A trial counts from its original start. You cannot extend or restart it.
- Offline access during a trial ends by the trial deadline.
- A new policy version applies to new licences only.
- Existing licences keep the rules they were issued under.
Treat licence keys like passwords
- Give the key to your customer through your own sales or support flow.
- Keep keys out of URLs and logs.
Free an installation
Each activation uses one slot of the installation limit.
- Release the installation when a customer moves to a new computer.
- Let the customer activate the new computer with the same key.
Use floating seats
A floating licence counts apps running at the same time, not devices.
- Each running app holds one seat for 15 minutes by default (5 to 60).
- The app renews the seat while it runs.
- Closing the app returns the seat. After a crash, the seat frees itself when its time runs out.
- When every seat is taken, the app gets
seats_exhaustedand aRetry-Afterheader. - If the policy allows it, an app can borrow a seat for offline use, up to 21 days.
Full steps: Floating licences.
Keep working offline
- The app activates or refreshes online.
- PermitPlane returns an offline grant, which the app checks on the device.
- The app runs offline until the earlier of the policy's offline days and the paid-through date.
If the device clock looks wrong, the app must check online again. Access is never extended silently.
Read entitlements in your app
Each entitlement is one of these:
| Kind | Example |
|---|---|
| On or off feature | export is on |
| Number limit | workers is 3 |
| Unlimited | workers has no limit |
Your app reads them from the checked offline grant.