Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change display of token in Datasources panel to a Copy button #390

Open
Don-Isdale opened this issue Jun 5, 2024 · 0 comments
Open

Change display of token in Datasources panel to a Copy button #390

Don-Isdale opened this issue Jun 5, 2024 · 0 comments

Comments

@Don-Isdale
Copy link
Collaborator

Motivation

The Datasources panel at left shows the primary Pretzel server which the user has logged into, and additional secondary servers, which may be Pretzel / Germinate / BrAPI. The panel shows for each data source the user name and the token received as a result of a successful login; this is used in authorising API requests.
For data administrators and developers, it is also useful when uploading via command line, or sending other API endpoint requests; for users it's better not to show it because it creates visual noise with no benefit.

We can replace it with a Copy button, so that only the user can access it and it is not visible.
In normal layout the token is truncated and so screen-shots are not a significant issue, but it is better practice to omit the token display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant