-
Notifications
You must be signed in to change notification settings - Fork 16
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
adding/removing access control to a dataset results in additional links #775
Comments
@tomkralidis I suspect this issue is caused by the upsert_collection_item called by 'add_token' and 'remove_token' : wis2box/wis2box-management/wis2box/auth.py Line 195 in 97bdaf7
wis2box/wis2box-management/wis2box/auth.py Line 230 in 97bdaf7
I guess the upsert_collection_item adds links instead of replacing them... Could we delete/insert instead of upsert ? |
2024-11-21: @tomkralidis to apply fix (and review/inspect in the context of #807). |
After adding removing access control to a dataset we end up with duplicate "observation"-buttons which appear to be due to links being added to the discovery metadata record whenever access-control is added and removed:
links section, note the duplicated links:
The text was updated successfully, but these errors were encountered: