sfbrigade / bats-server

Routed is an app to help ambulances direct non-critical patients to hospital emergency rooms with the most availability.
https://routedapp.org/
GNU Affero General Public License v3.0
18 stars 11 forks source link

Admin can turn on two factor auth for an Organization #283

Closed francisli closed 11 months ago

olupelumi commented 1 year ago

I can take this on

olupelumi commented 1 year ago

Jus to clarify understanding, the admin here would be the [batsadmin@c4sf.me]/abcd1234 (a Superuser)?

francisli commented 1 year ago

Yes, that "superuser" account is the full site admin

francisli commented 1 year ago

That being said, I believe we do also have the ability to mark non-superusers as admins of a specific organization. That admin could also turn on two-factor (for just their organization).

olupelumi commented 1 year ago

Cool. So both superusers and admins should be able to toggle two-factor authorization for an organization. The superuser for any organization and the admin for their specific organization.