stack-spot / stackspot-roadmap

2 stars 0 forks source link

Self service journey of Identy provider Group Mapping for stackspot IAM #118

Open eduardohyodozup opened 6 months ago

eduardohyodozup commented 6 months ago

Description

Given an account with SSO integrated, it's essential to be able to map groups of user's external to provider to the platform groups. This feature covers how this can be achieved and capabilities which will be provided to customer to be able to configure them.

Concepts

Usecase Flow

Association

  1. Setup SSO
  2. A user authenticates using SSO
  3. Their external groups are associated to their Stackspot user
  4. User is able to access the resources granted by Stackspot groups their got associated with

Disassociation

  1. Setup SSO
  2. A user authenticates using SSO
  3. Their external groups are associated to their Stackspot user
  4. User is able to access the resources granted by Stackspot groups their got associated with
  5. User loses some external groups in SSO provider
  6. When user reauthenticates in platform the respective groups removed in the SSO provider gets removed as well in platform

Proposed Solution

Creation of a group mapper REGEX where a rule is set and the captured external group is the group name to associate the user with. If user is not in the group then they are inserted into it.

To perform disassociation, the same REGEX is applied to user's current groups and if any filtered group is not in the external groups it gets removed.

Mapper configuration