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

Data profile is not saved #600

Open
yasima-csiro opened this issue Apr 18, 2024 · 2 comments
Open

Data profile is not saved #600

yasima-csiro opened this issue Apr 18, 2024 · 2 comments
Assignees
Milestone

Comments

@yasima-csiro
Copy link

Biocache data profile is not saved in test.

Steps to reproduce:

  1. Go to biocache-test
  2. Search for a species
  3. Click on settings -> choose a data profile -> save
  4. Next login doesn't show the saved the data profile.

Note: userdetails save property API requires users/write permission.

@adam-collins adam-collins self-assigned this Apr 19, 2024
@adam-collins
Copy link
Contributor

Ideally we would send the user JWT and it would be enough to change the user's profile data. Asking if this can be added to userdetails before creating an issue there.

Adding users/write permissions to the JWT machine-to-machine gets past authentication but now there is a new error, presumably only for AWS Cognito, Member must have length less than or equal to 20 (Service: AWSCognitoIdentityProvider. Waiting to hear back on this as well.

adam-collins added a commit that referenced this issue May 9, 2024
…s-option

#600 support biocache as a user properties store
@adam-collins
Copy link
Contributor

Can be tested at biocache-test.

  1. Do a search to bring you to the search result page that has the data quality filters.
  2. Login, if not already.
  3. Click on the data quality settings icon, on the right.
  4. Select a different data quality profile.
  5. Click save. This will test the saving of a property. Browser developer tools should have no error.
  6. Open a new tab.
  7. Do another search to bring you to the search result page.
  8. This page will have the saved data profile selected. This tests the retrieval of the property.

@adam-collins adam-collins added this to the 7.1.0 milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants