-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
BrAPI-AllNot related to any specific BrAPI ModuleNot related to any specific BrAPI ModuleNew Data ModelAdd a new data model to represent a new conceptAdd a new data model to represent a new concept
Description
BrAPI supports tokens across the calls but there's no way of knowing what permissions a given token has before performing a call. An accountInfo or tokenInfo (or serverInfo expansion) would allow the server to accept a token as input and return access information and levels so clients can enable/disable features based on what actions a user is able to actually perform.
Prototype response body:
"result": {
"userName": "John Smith",
"tokenExpirationDate": "2027-01-01T14:47:23-0600",
"accessGroupName": "Collaborator",
"readPermissions": [
trials,
studies,
programs,
observations,
observationVariables
],
"writePermissions": [
observations
],
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BrAPI-AllNot related to any specific BrAPI ModuleNot related to any specific BrAPI ModuleNew Data ModelAdd a new data model to represent a new conceptAdd a new data model to represent a new concept