Skip to main content

Attribute source priority and edit permissions

An identity attribute can have several candidate values at once: one from your HR system, one from a directory, and one an administrator typed in. Source priority is the ordered list that decides which one the identity shows. Owlie tries the sources from top to bottom, and the first source with a value wins.

Both the priority order and the edit permissions are on Directory > Directory Settings > Attributes. Reading them needs the identity.read permission. Changing them needs identity.modify.

How Owlie picks a value​

Each source keeps its own value for an attribute. Owlie never overwrites one source's value with another's. It stores them side by side and picks a winner each time one of them changes.

There are three kinds of source you can put in the list:

SourceWhat it supplies
Manual editA value set by hand: by an administrator on the identity's Attributes tab or through the API, or by the person on their own profile when Self edit is on.
Synced sourceA value from an account that Sync linked to the identity. Scope it to Any synced source, a Specific integration, or a Connector type (every integration of that connector). CSV imports count as a synced source.
DerivedA value computed by derived state rules.

Try it. Change what each source says, reorder the list, and watch which value Maya ends up with:

Which source wins
What each source says about Maya's Department
BambooHR ("Engineering")
Okta ("Platform Engineering")
Synced most recently
Source priority
  1. 01Manual editSkippedNobody has set this value by hand.
  2. 02Any synced sourceWinsOkta supplies "Platform Engineering". Both sources qualify, and Okta was synced most recently.
Maya's Department
Platform EngineeringSource: Okta

Okta is the first source in the list with a value.

Owlie tries the sources from top to bottom and stops at the first one with a value. Maya Okafor and her department values are fictional.

The rules the figure follows:

  • First value wins. Owlie walks the list in order and stops at the first source that has a value. Later sources are not consulted, even if their value is newer.
  • Empty values are skipped by default. With Skip empty values on, a source that sends the attribute with no value is passed over and the next source answers. With it off, the empty value wins and the attribute is empty.
  • Any synced source picks the most recent sync. When more than one linked account matches a synced entry, the account Sync saw most recently wins. If exactly one of those accounts is one of the identity's assigned resources, that account wins regardless of recency.
  • Unlisted sources are ignored. A list without Any synced source is closed: a value that only an unlisted integration supplies never shows. The editor shows a warning while a list is closed.
  • Missing accounts don't count. A value from an account that was deleted, or that Sync no longer finds in its source, is not considered.
  • No winner means no value. If no source in the list has a value, the attribute is empty.

Values kept from a removed integration​

When you remove an integration, Owlie keeps the values it was supplying at that moment. On the identity's Attributes tab their source reads Kept. A kept value is a last resort outside the list: it shows only while no listed source has a value. As soon as another source provides one, Owlie discards the kept value, and it does not come back if that source later stops.

The directory default and custom policies​

Every attribute uses the directory default unless you give it a custom policy.

Until you change it, the directory default is Owlie's built-in order: Manual edit, then Any synced source, with Skip empty values on. Under this order a value typed by an administrator stays until someone clears it, and synced data fills everything else.

Change the directory default​

  1. Open Directory > Directory Settings > Attributes. The Directory defaults panel opens beside the table.
  2. Under Resolution default, reorder the sources with the arrows, or select Add source and choose Manual edit or Synced source. For a synced source, choose its scope and, for a specific integration or connector type, the integration or type.
  3. Turn Skip empty values on or off.
  4. Select Save default. Reset discards unsaved changes.

A list needs at least one source. The directory default can't contain a Derived source.

Give one attribute its own policy​

The Source priority column shows Tenant default for an attribute that inherits the directory default and Custom for one with its own policy. Hover the button to read the order in effect.

  1. Select the button in the attribute's Source priority column.
  2. Turn on Custom policy. The editor starts from the order the attribute currently uses.
  3. Arrange the sources and set Skip empty values.
  4. Select Save priority.

A custom policy replaces the default completely. It is not merged with it. To return to the default, turn Custom policy off and select Save priority.

For example, suppose you want your HR system to own job titles while administrators can still fix other fields. Give Title a custom policy with the HR integration first and Manual edit second, and leave the directory default alone.

Two kinds of attribute have a fixed order:

  • Lifecycle state always uses a manual override first and its derived rules second. Owlie refuses changes to its source priority and editability here. See Lifecycle state and overrides.
  • A derived attribute is created with a policy that lists only its own Derived source.

What a change does to existing identities​

Saving a new default or a custom policy starts a background update that recalculates the affected attribute for existing identities. It uses the values Owlie already holds and does not run Sync. The panel shows Updating existing identities in the background, a processed count, and then Background resolution complete.

If some identities could not be updated, the panel shows Background resolution needs attention with a failure count. Retry resolution rechecks every identity the policy affects, using the current policy.

Changing which source wins Email can also change people's sign-in email. See Sign-in email and email.

Who can edit an attribute​

Three switches on each attribute's row control editing and visibility. They take effect as soon as you toggle them and do not recalculate any values.

SwitchWhen it is on
Admin editPeople with identity.modify can set the value on the identity's Attributes tab and through the API.
Visible in EUDThe person sees the attribute on their own profile in the end-user dashboard.
Self editThe person can change the value on their own profile.

Self edit needs both of the others. You can't turn it on while Admin edit or Visible in EUD is off, and turning either of those off turns Self edit off too.

Owlie also refuses Self edit on an attribute that a sync job matches accounts on. Otherwise a person could set their value to a colleague's and have the next sync link the colleague's account to them. Change the matching rules first.

Built-in attributes start with Admin edit on, except lifecycle state. Preferred name, pronouns, mobile phone, preferred language and timezone also start visible and self-editable. A new custom attribute starts with Admin edit on and the other two off.

How editing and priority interact​

The switches decide who may write a manual value. The priority list decides whether that value wins. The two are independent, which has a few consequences:

  • An edit by an administrator or by the person is a Manual edit. If Manual edit sits below a synced source that has a value, the edit is saved but the synced value keeps showing.
  • If the list has no Manual edit entry, manual values never win, whatever the switches say.
  • Turning Admin edit off stops new edits. It does not remove a manual value that already exists, and that value keeps winning while Manual edit outranks the other sources. Clear the value before you turn the switch off if you want synced data to take over.
  • Clearing a field on the Attributes tab removes the manual value. The next source in the list then supplies the attribute.