aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

User accounts can be restricted to certain Globus identity providers #1247

Closed prioux closed 2 years ago

prioux commented 2 years ago

When creating or editing a user account, the admins should have the ability to say "This account can only authenticate using this particular GLOBUS identity provider".

To make this work, when the flag is set, the user will be forced to link their account until they can proceed, a bit like for the 'password reset flag'. And when the link is established, the login with password option will be disabled by resetting the user's password to a totally random string.

Check how that interacts with the "password reset form" too. Maybe disable it with an error message?

prioux commented 2 years ago

Implemented by #1253