Skip to main content

Account activation

Some connected systems don't create a working account straight away. They send the person an invitation, and the account exists only once the person accepts. Owlie tracks that as the account's activation: an invited account is pending until the person accepts it and active afterward.

Activation is separate from whether the account is enabled or disabled. An account with an outstanding invitation is not a disabled account, and Owlie doesn't treat it as one.

Which resources invite​

Whether creating an account sends an invitation is a property of the connector, not a setting on the resource. Among the built-in connectors, GitHub and Linear invite: GitHub adds the person to the organization as a pending member, and Linear sends an organization invite. A connector you build chooses one of three behaviors for its account entity:

Connector settingWhat provisioning does
This connector creates itCreates an account that is active right away
This connector sends an inviteSends an invitation and holds access changes until the person accepts
Creation handled outside this connectorCreates nothing. Owlie waits for the account to appear, then manages its Grants

For the third case, see Resources whose accounts are created outside Owlie.

While the invitation is pending​

When a provision sends an invitation, the operation completes its create step and the assigned resource shows Invite pending immediately, before any sync. On the identity's Resources tab, the Invite pending button above the list filters to these accounts and shows how many there are.

Until the person accepts:

  • Owlie doesn't write the account's Grants. They stay intended, and Owlie doesn't show them as access the person has received.
  • Owlie doesn't enable or disable the account.
  • Attribute changes can still be written.
  • The assigned resource still counts as access the person holds. Policies treat it that way, and an access review shows it with an Invite pending badge so the reviewer can tell an outstanding invitation from an account in use.

Owlie doesn't expire invitations. If the connected system expires one, the account stays pending in Owlie until you invite the person again or revoke the resource.

Send the invitation again​

Where the connector provides a re-invite operation, as Linear does, open the assigned resource from the identity's Resources tab. Under Connector actions, the Re-invite row is listed first and marked Invitation pending. Select Run.

When the person accepts​

Owlie learns about acceptance from sync. A connected system doesn't list an invitation among its accounts, so the first sync that lists the account means the person accepted. That sync:

  1. marks the account active, which clears Invite pending.
  2. starts a reconciliation that writes the Grants Owlie was holding.

Acceptance therefore takes effect in Owlie at the next sync of that integration, not at the moment the person selects the link. To apply access sooner, run the sync job after they accept. See Full, incremental, scheduled and manual runs.

Some systems give an invitation a temporary identifier that changes when the person accepts, as Linear does. Sync matches the accepted account to the pending one with the job's matching rules and keeps the same assigned resource, with its history and intended Grants. A matching rule on email is the natural choice for these connectors.

If the person accepted an invitation before Owlie assigned them the resource, sync has already linked the account to them. A later provision adopts that account and doesn't send a second invitation. See Account adoption.

Enabling and disabling accounts​

Disabling suspends an account without removing it, and enabling restores it. Owlie submits a Disable or Enable operation when:

  • a revoke runs on a resource whose Account state is Disabled.
  • a person returns and a policy grants them an account that their termination disabled. Owlie re-enables that account and doesn't create a new one.
  • a hook's follow-up operation asks for it. See Hooks and delayed operations.

Owlie records who disabled an account. When a policy wants the account again, Owlie re-enables only an account that a policy or a timed revoke disabled. An account an administrator disabled by hand stays disabled until an administrator enables it.

What these operations can do depends on how the resource is fulfilled:

FulfillmentEnable and disable
Connector that can suspend accountsOwlie calls the connector, and the account's state changes in the connected system.
Connector that can'tThe operation fails with an unsupported-operation error that isn't retried. Choose Deleted for Account state if the connector can delete.
Connector that manages Grants onlyOwlie never changes the account. Disabling removes the Grants Owlie manages and holds the assigned resource, and enabling adds them back.
A person or a groupThe fulfiller gets a ticket to make the change.
A functionNot available. Function fulfillment supports provisioning and revoking only, and a revoke always removes the account.

How this relates to what sync observes​

Activation and the enabled state are both things Owlie records from its own writes and then confirms from the connected system:

  • Invite pending is set by Owlie's own create step and cleared only by a sync that lists the account.
  • Whether an account is enabled is read by sync on every run. If someone re-enables an account in the connected system that Owlie disabled, the next sync sees the difference, and the sync job's assignment policy decides what happens. With Enforce Owlie, Owlie disables it again.

How provisioning and reconciliation work explains intended, completed and observed state.