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

updating discovery metadata removes "has_auth" from data_mappings and removes "security" from links #807

Open
maaikelimper opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working security Security
Milestone

Comments

@maaikelimper
Copy link
Collaborator

maaikelimper commented Nov 21, 2024

Updating the discovery metadata content of a dataset after adding access-control has been added, removes the security-property "has_auth: true" and removes the links with property

"security": {
  "default": {
    "type": "http",
    "scheme": "bearer",
    "description": "Please contact the data provider for access"
  }
}

Related to #775

To reproduce:

  • create new dataset
  • add access control to dataset using wis2box auth add-token --metadata-id [...]
  • update dataset (for example change description)
@maaikelimper maaikelimper added security Security bug Something isn't working labels Nov 21, 2024
@maaikelimper maaikelimper added this to the sprint-016 milestone Nov 21, 2024
@maaikelimper maaikelimper changed the title update discovery metadata removes "has_auth" property updating the content discovery metadata removes "has_auth" from data_mappings and removes "security" from links Nov 21, 2024
@maaikelimper maaikelimper changed the title updating the content discovery metadata removes "has_auth" from data_mappings and removes "security" from links updating discovery metadata removes "has_auth" from data_mappings and removes "security" from links Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security Security
Projects
None yet
Development

No branches or pull requests

1 participant