Skip to content

SSO enabled users' roles unchangeable in teams #6958

@tmahncke-lhind

Description

@tmahncke-lhind

Current Behavior

When a SSO enabled user is in a team with a specific role it is not possible to change the role. There is no UI feedback, but the reqest returns with a 400. It is also not possible to remove the user, nor to re-invite them.

This makes user administration on team level practically unusable, e.g. promoting a member to owner when the current owner leaves.

The only way we found to fix this is to delete the user as flowfuse admin and re-create it with a new login, but that is not reasonable for a user that has multiple teams and needs to be re-added everywhere.

Image

Modification fails

Image

Deletion fails

Image

re-invite fails

Expected Behavior

  • If there is an issue with the underlying request the UI should show it and not fail silently
  • There should be a possibilty to change roles inside a team for SSO users

Steps To Reproduce

  • Add a team member with SSO to the team in any role
  • Open dev tools
  • Try to change the role or remove the user from the team

Environment

  • FlowFuse version: 2.28.0
  • Node.js version: 20.20.1
  • npm version: 10.8.2
  • Platform/OS: Windows
  • Browser: Firefox 148.0.2 (64-Bit)

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions