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

Dataset network membership curation: editor rights and scope #281

Closed
ahahn-gbif opened this issue Jan 13, 2021 · 4 comments
Closed

Dataset network membership curation: editor rights and scope #281

ahahn-gbif opened this issue Jan 13, 2021 · 4 comments
Assignees

Comments

@ahahn-gbif
Copy link

ahahn-gbif commented Jan 13, 2021

With more dataset networks coming in (and possibly more to be expected in the context of Hosted Portals in future), we would like to move from central, manual curation of network membership to being able to give editor rights to trusted network coordinators.

Network membership is curated in table dataset_network and links a network UUID with multiple dataset UUIDs, regardless of dataset publisher affiliation. Typically, a network brackets individual datasets across a range of publishers, and does not include all datasets of the publisher.

The desired functionality would ideally

  1. grant a specific network coordinator permission to add more datasets to their own network / remove datasets from their own network
    (NB: it is not necessarily possible to predict which publishers or even nodes these additional datasets may be affiliated with)
  2. include a form of safeguard that reminds the editor that adding datasets to their network needs to be in agreement with the dataset owner
    (networks are products of the self-organization of a community, built on mutual agreement)

As a minimum solution, and given the relatively manageable number of networks, it would help if we could 1) grant the network editor rights on the dataset_network content relating to their own network UUID (add/delete), and handle 2) in form of communication. Is 1) possible though? This would concern both the registry UI and API use.

@ManonGros
Copy link
Contributor

In summary, we would like to be able to have users as follow:
permission: registry_editor
scope: network UUID

That would allow them to POST /network/{UUID}/constituents and DELETE /network/{UUID}/constituents

@mike-podolskiy90
Copy link
Contributor

mike-podolskiy90 commented Jan 18, 2021

@ahahn-gbif @ManonGros Question from @MortenHofft :
Should an editor with network scope only be allowed to edit the constituent datasets. Aren't they allowed to add contacts, change title description etc?

@ahahn-gbif
Copy link
Author

@MortenHofft Thanks - yes, it would make sense to allow them to also edit the network contacts and description. Less convinced about the title: it should not change often, and for consistency (data filters), I would prefer some communication with helpdesk before any change.

To keep in mind though that none of this is currently visible on the network pages in the GBIF.org context, as this is fed from authored content, not fed from the registry. It may be more relevant for hosted portal environments.

@mike-podolskiy90
Copy link
Contributor

registry v3.48, deployed to prod
some more work on UI required, created an issue for that

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

3 participants