Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new
ProgramUserRole
, theExternal
user. External users would be associated with a program, have the same attributes as other program users (name, email, ORCiD, etc.), be invited and accept invitations, etc. like a user in any other role. The difference is that external users are not granted permission to see or edit the corresponding program.The reason to add an
External
role is for a new program user attribute,hasDataAccess
. Whentrue
, the user will be allowed to download the program's data. ShortCut 3897 prescribes a data sharing list and applies it even to COIs. This means that a user may be a COI with full edit permission and yet not allowed to download the data. Conversely, a user may be external and not allowed to see the program and yet have permission to download the data.A database query will be provided for the GOA. Given an ORCiD, GOA will check with the database to see whether the user is allowed to download data.