Skip to content
Innomesh Docs
Portal Since v3.3.0

SAML Roles

Overview

A SAML role connects a group in your organisation’s identity provider (IdP) to access in Innomesh. When a user signs in through single sign-on (SSO), Innomesh reads the memberof values in their SAML assertion, finds the SAML roles with matching names, and gives the user the Innomesh roles and user group those SAML roles are mapped to.

This lets you manage who can do what in Innomesh Portal and Innomesh Room Manager from your directory. Add someone to the right directory group and they get the right access the next time they sign in, with no change in Innomesh.

SAML Roles is a tab in the Administration > Users area, alongside Users, User Groups, Roles, App Clients and Assistive UI Users.

📝 Note
SAML roles apply only to tenancies that sign in through SAML SSO, with the memberof attribute (or an equivalent attribute agreed with Innomate) set up in the IdP. See SSO Integration using SAML2.

How SAML Roles Work

Flow from a directory group, through the memberof value in the SAML assertion and a SAML role, to an Innomesh role and user group
The SAML role's name is the link: it must be identical to the value the IdP sends
  1. In your IdP, the user is a member of one or more groups, such as AV-Technicians.
  2. When the user signs in, the IdP sends those groups as memberof values in the SAML assertion.
  3. Innomesh looks for a SAML role whose name exactly matches each memberof value.
  4. The user gets every Innomesh role mapped to the matching SAML roles, and the user group mapped to them.

Each SAML role has three parts:

FieldWhat it is
SAML RoleThe memberof value exactly as your IdP sends it. This is the SAML role’s name and cannot be changed after it is created.
Mapped Innomesh RolesOne or more roles from the Roles tab. A user with this SAML role gets all of them.
Mapped User GroupOptional. A user group from the User Groups tab. A user with this SAML role is placed in this group.

A SAML role holds no permissions of its own. What the user can do, and which rooms they can do it to, comes from the mapped roles and user group, as described in the RBAC Authorisation Guide.

Users with More Than One SAML Role

When a user’s assertion matches several SAML roles, they get every role mapped to all of them. Permissions and scope combine across roles, in the same way as a user with several roles assigned directly.

A user belongs to only one user group. If a user matches two SAML roles mapped to different user groups, which group they end up in is not defined. Map any one group of users to a single user group, and leave Mapped User Group empty on SAML roles that only add permissions.

SAML Roles and the Users Tab

Roles are additive. A user gets every role from their SAML roles plus every role assigned to them directly on the Users tab, and their permissions and scope combine across all of them. Assigning a role on the Users tab adds to a user’s SAML access but cannot take any of it away. To reduce an SSO user’s access, change their directory groups or the SAML role mapping.

A user group from a SAML role takes precedence over a user group set on the user in the Users tab.

On the Users tab, roles and user groups that come from a SAML role are shown in italics with an asterisk (*). Hover over one to see that it is assumed from the user’s SAML role. The SAML Roles column lists the user’s SAML roles.

Users tab where the Roles column shows italic role names with asterisks and a tooltip reading This role is assumed from the user's SAML role

When Changes Take Effect

Innomesh reads a user’s memberof values each time they sign in. A change to a user’s directory groups, or to a SAML role’s mapping, applies the next time that user signs in.

A memberof value with no matching SAML role is ignored. A user whose values match no SAML role, and who has no roles assigned on the Users tab, can sign in but has no access.

Prerequisites

  • SAML SSO is set up for your tenancy, and your IdP sends memberof values in the assertion. See SSO Integration using SAML2.
  • The roles and user groups you want to map already exist. Create them on the Roles and User Groups tabs first.
  • Your role includes Access administration and Manage Roles (under Portal > Administration Access). Manage Roles covers creating, editing and deleting SAML roles.
  • You know the exact memberof values your IdP sends. Your identity team can confirm them from the application’s claim settings or a captured SAML assertion.

View SAML Roles

Navigate to Administration > Users, then select the SAML Roles tab.

SAML Roles tab listing five SAML roles with their mapped Innomesh roles and a dash in every Mapped User Group cell

ColumnDescription
SAML RoleThe memberof value the SAML role matches
Mapped Innomesh RoleThe roles a matching user gets
Mapped User GroupThe user group a matching user is placed in, or - if none

Sort by any column, change the number of entries per page, or download the list as a CSV with the download icon at the bottom right.

Create a SAML Role

  1. Navigate to Administration > Users > SAML Roles.
  2. Click Create New.
  3. In SAML Role, enter the memberof value exactly as your IdP sends it.
  4. In Mapped Innomesh Roles, select one or more roles.
  5. Optionally, in Mapped User Group, select a user group.
  6. Click Create.

Create SAML Role dialog with AV-Contractors entered as the SAML role and empty role and user group fields

The SAML role applies to each matching user the next time they sign in.

❗ Important
Enter the SAML role name exactly as your IdP sends the memberof value, character for character. A name that differs does not match, and users sign in without the access you intended.
💡 Tip
Some IdPs send a group’s ID rather than its name. Microsoft Entra ID, for example, sends group object IDs by default. Either enter the ID as the SAML role, or have your identity team configure the claim to send group names.

Edit a SAML Role

  1. Navigate to Administration > Users > SAML Roles.
  2. Click the SAML role’s row to open Edit SAML Role.
  3. Change Mapped Innomesh Roles or Mapped User Group.
  4. Click Update.

Edit SAML Role dialog with the SAML role name greyed out and a tooltip saying it is the value of the SAML memberof attribute

Mapped Innomesh Roles is a multi-select list. Tick each role the SAML role should grant.

Mapped Innomesh Roles list open with Innoportal User and Remote Web Panel ticked

The SAML role name cannot be edited. To change it, for example because a directory group was renamed, create a new SAML role with the new name and delete the old one.

Delete a SAML Role

  1. Navigate to Administration > Users > SAML Roles.
  2. Tick the checkbox next to each SAML role to delete.
  3. Click Delete.
🚨 Caution
Users who relied on a deleted SAML role lose the roles and user group it granted the next time they sign in. If it was their only source of roles, they can no longer access Innomesh.

A role or user group that is mapped to a SAML role cannot be deleted from the Roles or User Groups tab. Remove it from every SAML role first.

Example: One Group per Department

A university gives each department’s AV team access to its own rooms only. The identity team creates a directory group for each department and releases them as memberof values.

In Innomesh, the administrator:

  1. Creates a user group for each department, such as Engineering and Chemistry, and assigns each department’s rooms to it.
  2. Creates a role, Department Technician, with the permissions the AV teams need and User Group Resource Access set to Own user group.
  3. Creates a SAML role for each directory group:
SAML RoleMapped Innomesh RolesMapped User Group
AV Monitoring EngineeringDepartment TechnicianEngineering
AV Monitoring ChemistryDepartment TechnicianChemistry
AV Monitoring Central ServicesInnoportal Administrator(none)

When an Engineering technician signs in, they get the Department Technician role and the Engineering user group, so they see only Engineering’s rooms. The central AV team’s SAML role adds the administrator role without setting a user group. New staff get access the first time they sign in after being added to the right directory group.

Troubleshooting

SymptomLikely causeWhat to do
User signs in but has no access, and is missing from the Users tabNo SAML role matches their memberof values, so they have no roles. The Users tab lists only users with at least one role.Compare the values in the assertion with the SAML role names, character for character. Check whether the IdP sends group IDs rather than names.
User’s access did not change after a mapping changeChanges apply at sign-inAsk the user to sign out and sign in again.
User keeps access after being removed from a directory groupA role assigned directly on the Users tab, or another of their SAML roles, still grants itCheck the user’s roles on the Users tab. Non-italic roles are assigned directly; remove them there.
User sees the wrong set of roomsThey match SAML roles with different user groups, or a role’s scope is wrongCheck the SAML Roles column for the user on the Users tab, and make sure only one of their SAML roles sets a user group.
User is sent back to the sign-in page each timeOften too many groups in memberof (each attribute is limited to 2048 characters)Release only the groups Innomesh needs. See the SSO FAQ.
A role or user group cannot be deletedIt is mapped to a SAML roleRemove it from the SAML role first.