Managing user roles with SCIM group mapping in STB
If your organisation provisions users to Ideagen Hub through SCIM from your identity provider (for example Okta or Microsoft Entra ID), Safe Trip Builder can set each user's role from the groups they belong to. You map each group to a Safe Trip Builder role once, and from then on your identity provider decides who is an admin, an approver or a user. Nobody needs to set roles by hand in Safe Trip Builder.
This article explains how group mapping works, how to set up your mappings and what changes once SCIM group roles are turned on for your organisation.
Before you start
You will need the following:
- Your Safe Trip Builder site is connected to Ideagen Hub, and your users and groups are provisioned to Hub through SCIM from your identity provider.
- The groups you want to use already exist in your identity provider and have been sent to Hub.
- You are a client admin or client admin assistant on the site, and you sign in to Safe Trip Builder through Ideagen Hub. The SCIM Group Mapping page is only available to admins who sign in through Hub.
Adding users, removing users and changing a user's name or email are all done in your identity provider or in Ideagen Hub, not in Safe Trip Builder.
How roles are worked out
Once SCIM group roles are turned on for your organisation, Safe Trip Builder gives each user a role on each site based on the groups they are in.
- One group, one role per site. Each group can be mapped to only one role on a site. You can map the same group to a different role on another site.
- The highest role wins. If a user is in more than one mapped group, they get the highest of those roles. For example, a user in both an approver group and a staff group becomes a client approver.
- No mapped group, no access. A user who is not in any mapped group has no role on that site and cannot sign in to it.
- Changes follow your identity provider. When you add a user to a group, move them or remove them, their role in Safe Trip Builder updates to match. This can take a few minutes.
- Group names must match exactly. Mappings match on the group name. If a group is renamed or deleted in your identity provider, its mapping stops giving anyone a role until a group with exactly the same name is available again.
[CONFIRM: the full list of roles customers can map to. Source material shows client-admin, client-approver, client-user, client-watcher and client-lite-user on the mapping page.]
Map groups to roles
- Sign in to your Safe Trip Builder site through Ideagen Hub.
From the menu, open SCIM Group Mapping.
- For each role, select the groups that should give that role. You can pick a group from the list, or type its name and press Enter.
Select Save. A message confirms that your SCIM group mappings have been saved.
A group that is already mapped to another role on this site shows as unavailable, with the name of the role that uses it.
To remove a mapping, remove the group from the role and select Save.
If your site is shared by more than one organisation
Some Safe Trip Builder sites are shared by more than one Ideagen Hub organisation. In that case each organisation has its own mappings for the site. When you sign in, you see and change only the mappings for the organisation you signed in through.
Turning SCIM group roles on
SCIM group roles are turned on for your Hub organisation as a whole, so they apply to every Safe Trip Builder site linked to that organisation at the same time.
[CONFIRM: how customers request this, for example through Support or their Customer Success Manager.]
Before you ask for SCIM group roles to be turned on:
- Set up mappings on every site linked to your organisation.
- Check that every person who needs access is in at least one mapped group in your identity provider. Anyone who is not will lose access to that site when SCIM group roles are turned on.
- Agree a time for the change with your team, so that anyone affected knows to expect it.
Ideagen will work with you to review who will be affected before the change is made.
Once SCIM group roles are on
Change roles in your identity provider. To give someone a different role, change their group membership. If a role is changed by hand in Safe Trip Builder, it is replaced the next time that user's roles are worked out from their groups.
Users in more than one organisation. If a person belongs to more than one Hub organisation that uses your site, they can have a different role depending on which organisation they sign in through.
Renamed or deleted groups. If you rename or delete a mapped group in your identity provider, update your mappings to the new group name straight away. Users whose only mapped group was affected will not be able to sign in until this is fixed.
Turning SCIM group roles off
If SCIM group roles are turned off for your organisation, each user keeps the role they had at that moment. Roles can then be changed by hand again, and group changes no longer affect them. Users who had lost access because they were not in a mapped group do not get their previous role back automatically, so an admin will need to set it.
Frequently asked questions
A user can't sign in to our site. What should I check? Check that the user is in at least one group that is mapped on that site, and that the group name in your identity provider matches the mapping exactly. If you changed their groups recently, allow a few minutes for the change to arrive.
I can't see SCIM Group Mapping in the menu. The page is only available to client admins and client admin assistants who sign in through Ideagen Hub. If you signed in another way, sign out and sign in again through Hub.
I changed a user's role but it changed back. When SCIM group roles are on, roles come from groups. Change the user's group membership in your identity provider instead.
Does this affect sites that don't use Ideagen Hub? No. Sites that are not connected to Hub keep managing roles as they do today.