nwfsc-fram / boatnet

At-Sea Field Data Collection Software Components for Scientific Surveys and Observers
8 stars 5 forks source link

One Touch account setup #971

Closed SaOgaz-NOAA closed 4 years ago

SaOgaz-NOAA commented 4 years ago

We need to figure out the workflow for users making new accounts, getting hooked up to vessels, etc.

Existing roles from boatnet: see models/lookups/person.ts (in @boatnet/bn-models)

SaOgaz-NOAA commented 4 years ago

@sethgerou-noaa any idea what kind of "due date" we should stick onto this ticket? Obviously something we need for OX as well, so not sure what that timeline is.

sethgerou-noaa commented 4 years ago

I think @SaOgaz-NOAA , @wsmith-nwfsc , @melinashak-noaa , and I should meet about this in the next couple weeks and decide what's reasonable. I'm not thinking streamlined account creation is part of MVP for OTS, so there's no real time pressure, but it would be good to keep the ball rolling on the requirement.

ghost commented 4 years ago

Currently we create accounts for non-NOAA people in our Apex User Admin (AUA) tool, which our auth service talks to. This is what the bn-auth module talks to, so we could just use this. We would create an APPLICATION_NAME in AUA and these user accounts would go there, if that makes sense. The auth service has routines for user creation, updates etc (via OpenAPI)

ghost commented 4 years ago

This will probably tie into the Communications Module (which will handle SMS texts, emails, etc)

ghost commented 4 years ago

We have the start of a roles/ permissions matrix somewhere. @SaOgaz-NOAA requests it.

SaOgaz-NOAA commented 4 years ago

Opened new ticket for next step here. However, before I close this I want to clarify the expectation for OLE.

New users (captains) will be able to create an account for themselves, but it will not be associated with any vessels. How the vessels are then attached to user accounts is a bit of a TBD, since we first need to figure out how we're handling vessels from an OLE perspective.

Does that sound right @sethgerou-noaa, @wsmith-nwfsc ?

ghost commented 4 years ago

Yes, we expect a data steward/admin to perform that -- perhaps the captain will "request" a vessel association, to make that process a one-click move

sethgerou-noaa commented 4 years ago

I'd propose the captain can request a vessel association by entering a vessel ID (coast guard # or state reg #) and then a staff member approves/not

SaOgaz-NOAA commented 4 years ago

Okay, closing this ticket and opening new one.