Differentiate admins and "super duper admins"

Description

Once you have authenticated using an admin in the API study, you can change to any other study. That call only verifies that you're an admin, it doesn't verify that you're an admin who should be able to work in any study.

It would be useful to create admins in specific studies that can only admin that study, so change /v3/auth/admin/study to check the admin is in the API study or reject that call to keep those admins in a single study.

Environment

None

Status

Assignee

Alx Dark

Reporter

Alx Dark

Labels

None

Validator

Erin Mounts

Release Version History

None

Story Points

2

Components

Fix versions

Priority

Minor