Add Wildcard Support (*|role_name) for Default Role Assignment in o365 Role Mapping

Created on 5 March 2025, about 1 month ago

Problem/Motivation

It would be nice to have wildcard support (*|role_name) in the o365 role mapping configuration, allowing administrators to assign a default role to all users upon login, regardless of their Microsoft 365 group membership.

This would ensure that all users have a baseline role (e.g., basic_user) without needing explicit group membership.
It simplifies role management for organizations where some users do not belong to predefined groups but still require access.

Proposed resolution

Users would be able to define a wildcard mapping in o365.role_settings such as:
*|basic_role

This ensures that all users automatically receive the specified roles upon login.

Feature request
Status

Active

Version

5.0

Component

Code

Created by

🇨🇦Canada smulvih2 Canada 🍁

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024