Skip to main content

Configure request forms and access selections

A request carries two different kinds of input, and Owlie treats them differently:

  • Access selections decide what is granted: which resources, which Grants on each resource, and for how long.
  • Form answers are context: a business reason, an environment, a cost center. Approvers, approval functions and fulfillers read them. They never grant access by themselves.

You configure both on the resource. This page explains how they come together in a request and what happens to them afterward.

What a requester can select​

Each item in a request is one resource from the catalog. What the requester chooses inside the item depends on the resource type.

Resource typeWhat the requester selects
Assignable itemThe resource itself, which includes its standard access. If the resource offers requestable Grants, the requester can add specific ones, such as a role or a group, each with any qualifiers the Grant kind needs.
BundleThe bundle as a whole. Its components and their Grants are fixed by the bundle's definition. The bundle is approved once and each component is fulfilled separately.
TaskThe task. A task runs fulfillment without creating access, so there are no Grants and no access window to choose.

Someone who already has a resource can still request it to add more Grants. The request form says "Your existing access stays in place. Choose the extra permissions to add." For a resource with nothing to choose and no form, Add to request puts it straight into the draft.

To decide which Grants a resource offers, and who can see the resource in the catalog, see Catalog visibility and requestable Grants. For components, see Bundles, and for tasks, Task resources.

Qualified Grants​

Some Grants need more than a target. An Auth0 role assigned inside an organization needs the organization, for example. The requester fills in those qualifiers when adding the Grant, and Owlie fills in declared defaults for the ones left alone. Two selections of the same role with different qualifiers are two different Grants.

Owlie validates every selected Grant at submission. A Grant kind or target the resource doesn't offer is refused, and so is a missing or malformed required qualifier.

When a selected Grant depends on other access, the request shows it. A line such as "Also adds Member of Acme, required by Support Agent" tells the requester and the approver what approving the Grant brings with it. One approval covers the Grant and the access it needs.

What a requester can enter​

Three inputs sit beside the selections on the checkout page, Your request:

  • Why you need this is one justification for the whole request. It is optional for standard requests and required for emergency access.
  • Request options is the resource's own form, if it has one. Build it on the resource's Form tab. Resource forms and form data covers fields, options and limits.
  • Access timing sets the start and end of the access, within what the resource allows. See Access windows and expiration.

Each item in the draft shows whether it can be submitted:

LabelMeaning
ReadyThe form is complete, the timing is valid and the policy check found no block.
Needs optionsA required form field is empty or the access timing is invalid.
Checking policyThe pre-submission check is still running.
Blocked by policyA blocking deny policy covers this item for this beneficiary.

Submit request is available only when every item is Ready.

The pre-submission check​

While the draft is open, Owlie runs a dry run of the request for the chosen beneficiary. Nothing is saved. The dry run uses the same item list the policy gate uses later, so the draft and the real request agree.

In the request form, the dry run produces the readiness labels above. A blocked item shows "Blocked by" with the policy's name and a Remove button. The requester can't submit until the blocked item is removed. If the check itself is unavailable, the form says so and still allows submission, because the policy gate checks the request again before any access is granted.

The same dry run is available through the API as the previewRequest query. For each item it returns:

  • stages: the approval stages the request would go through, with each stage's policy and the approvers that resolve today.
  • instant: whether the item would be granted with no human approval step.
  • policy: each policy verdict, with needs_exception set when a blocking deny would park the item.
  • eligible and ineligibility_reason: whether the request would be accepted at all.
  • capacity_ok and already_assigned: whether the resource is full and whether the beneficiary already has it.
  • grant_timing and the intended and effective start and end times.

A preview reports what would happen now. Approvers can change before the stage opens, and policies can change before fulfillment.

What Owlie freezes at submission​

When the request is accepted, Owlie stores a snapshot on each item:

  • The form as shown. The form definition is copied with the answers, so the request always shows the questions the requester saw. Editing the resource's form later doesn't change open or past requests.
  • The answers. Owlie validates required fields and option values, then stores them. Answers for one item are limited to 128 KB.
  • People, groups and resources picked in the form. A picker answer is stored with the name and details it had at submission. If the person is renamed later, the request still shows the earlier name.
  • The selected Grants, with their targets and qualifiers.
  • The access window, as start and end times.

The approval flow is handled differently. For a standard request, Owlie builds approval steps from the resource's flow when the request is first processed, and steps that already exist are kept if you edit the flow afterward. When an errored item is re-processed, Owlie rebuilds its errored steps, and steps that haven't started, from the resource's current flow. Provisional and emergency requests freeze the whole flow at submission. See Approval routing and decision rules.

Who reads form answers​

ConsumerWhat it gets
ApproversThe Submitted form section on the approval ticket and on the request item.
Approval functionsform_data and form_definition in the function input, so a function can route or decide by answer.
Manual fulfillersThe Submitted form section on the fulfillment ticket.
Connectors and functions that fulfillThe answers and the form definition as inputs to the provisioning operation.

For example, a form asks for an environment with the options staging and production. An approval function approves staging automatically and assigns production requests to the security group. The answer steers the approval. The access granted is still the resource and the Grants selected in the request.

If you need an answer to change what is granted, model the choice as a requestable Grant, or as separate resources, so that it goes through policy checks and shows up as access. Bundle components don't receive the bundle's form answers. They are fulfilled from the bundle's definition.

Requests created by administrators and the API​

Administrators create a request for anyone from Access > Requests > New request, with the same selections, forms and access timing. API clients use the createRequest mutation. Both paths go through the same validation, snapshot and processing as a request from the end-user dashboard. The request's Source shows where it came from.

For the requester's side of this, see Find and request access and Request access for a direct report.