Skip to content

Relationship types: how a person can be connected to an organization

Describes PhoenixKit 3.5.0.

A relationship type names how a person is connected to a managed organization, and says how far they can go there. The roles on their link then say what they can do.

Where to find it

In the admin sidebar, Users > Relationship types (/admin/users/relationship-types). The entry shows only while Enable organization accounts is on in Settings > Users. You need a role with the Users permission.

The relationship types page in PhoenixKit: Manager (act for an organization and manage its people and profile) and Staff (act for an organization, but not manage it), with New type The relationship types page in PhoenixKit: Manager (act for an organization and manage its people and profile) and Staff (act for an organization, but not manage it), with New type

Relationship types: the ways a person can be tied to an organization.

The list

Each type shows its name, what people of that type can do, and how many people have it. Two types are built in:

  • Manager: Act for an organization and manage its people and profile.
  • Staff: Act for an organization, but not manage it.

The buttons on each row:

  • Move up / Move down: the order the types are offered in.
  • Edit: change the names.
  • Archive: asks first. People who have the type keep it, and their sessions carry on, but nobody new can get it. The row then shows Archived and offers Restore. Manager can’t be archived, so it has no Archive button.
  • Delete: asks first. It shows only on a custom type that nobody has. A type in use can only be archived, and a built-in type can’t be deleted.

Creating a type

New type opens New relationship type:

  • Name, for example “Warehouse staff”.
  • Name for several people: optional, for example “Warehouse team”.
  • What can people of this type do?: Act for an organization (they use the roles on their link, and nothing more) or Act for it and manage it (they can also invite and remove people and edit its profile).
  • Technical key, folded away: the Key code uses. It is made from the name and never shown to people.

Save creates the type. When the site has several languages, the names can be entered in each.

The new relationship type form: name, name for several people, and what people of this type can do, either act for an organization or act for it and manage it The new relationship type form: name, name for several people, and what people of this type can do, either act for an organization or act for it and manage it

A new relationship type.

What it doesn’t do

  • What a type allows, its key and which kinds of account it connects can’t be changed after creation; Edit only changes the names. To change what a type allows, make a new type and move the people to it.
  • A type doesn’t give any roles by itself. Roles are chosen per person on the organization’s People tab.