Apply Sys admin and PDF2XML role after user sign up; and associate Sys Admin <--> Orgs
We originally scoped to invite these users (#235 (closed)) but there is a very limited amount of users with these roles -- with the added complexity of only MyNCBI registration, this isn't worthwhile.
Revised workflow:
- User signs up
- User lets super admin know he has signed up
- Super admin goes to 'All users' page and searches for the user
- Super admin clicks on user and applies role:
- Sys admin OR
- PDF2XML vendor
Dev tasks
-
Remove 'Invite User' button and modal on the All users tab -
Move content in the 'Invite User' modal to the 'Edit User' card, including associating the Sys admin to one or more organizations. (see rough resign change below) -
Show Organizations in dropdown (currently this doesn't work) -
In the New Organization modal, show Sys Admin users in the 'Select Users' dropdown -
On the Organizations Settings tab, show Sys Admin users in the 'Select Users' dropdown and the assigned users in the list.