FlowFuse / flowfuse

Connect, collect, transform, visualise, and interact with your Industrial Data in a single platform. Use FlowFuse to manage, scale and secure your Node-RED solutions.
https://flowfuse.com
Other
278 stars 63 forks source link

Implementing SSO UI Button #3377

Closed MarianRaphael closed 9 months ago

MarianRaphael commented 9 months ago

Description

A first iteration of https://github.com/FlowFuse/flowfuse/issues/3376 would be a dedicated SSO UI element. With the introduction of the SSO button, it will become immediately evident to users that they need to open a support ticket to configure SSO, thereby eliminating confusion.

Introduce a button within the Team Settings section of the Team Admin Zone. Upon clicking the SSO configuration button, users will be redirected to a contact form.

Which customers would this be available to

Enterprise Tier Only (EE)

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

ZJvandeWeg commented 9 months ago

Context: a user provided feedback that they didn't think SSO was available. As such I believe this button should be shown on the settings. Additionally we should likely show SSO availability (or lack there off) on the member page too.

knolleary commented 9 months ago

Have mostly completed a quick iteration on this - gave the Team Settings view a quick update to bring it more inline with other views as that made it easier to give the button a home.

Had to get a little hacky with the logic on whether to show the button or not - sso is a property of the user not the team. So I'm using the following set of rules to display the button:

  1. The current user is a Team Owner (they have to be in order to get to the settings page)
  2. The current user is not sso enabled
  3. The team type is 'Enterprise' - this is hardcoded to the Team Type name, rather than a TeamType feature flag as we'd normally do... as this is quite specific to FF Cloud, it seemed appropriate in order to get this done.

Before

Image

After - viewing settings

Image

After - editing settings

Image

knolleary commented 9 months ago

fyi - this is now live on production