-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated "user" and "client" concepts for DTS.
This PR breaks our `auth.UserInfo` into `auth.User` and `auth.Client` types in order to distinguish between the rights/privileges of a DTS client used by one or more users, and each user. This allows us to easily associate a specific user (via ORCID) with each transfer request, and allows us to retain client-specific data (like active database proxies) that aren't tied to individual users. For now, if no user ORCID is specified by a transfer request, the DTS falls back to the client's ORCID. We'll remove this fallback when existing services have user-specific transfer ORCIDs in place within transfer requests. Closes #81
- Loading branch information
1 parent
e1823b9
commit bfd8b36
Showing
10 changed files
with
163 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.