hydroshare / hs_restclient

Python client for the https://www.hydroshare.org REST API
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

Support modification of owners/editors of a resource #92

Open zhiyuli opened 5 years ago

zhiyuli commented 5 years ago

Support modification of owners/editors of a resource

zhiyuli commented 5 years ago

adding this: manage resource access control over a Group

ghost commented 5 years ago

@zhiyuli is this a showstopper or a nice-to-have? Can you provide more detail on the need and its impact to CZO work? Can they just edit in the database?

zhiyuli commented 5 years ago

@cuahsimarko @martinseul @Lizabrazil I think the priority of this ticket depends on what Alva's group of group can do. Currently, in CZO project we create each resources using a specific "czo_XXXX" account, but all resources should be owned by "czo_national" account as well. So 2 options here: 1) do it in migration script by using the new rest api and hs_restclient requested in this ticket 2) do it on UI using Alva's groups of group feature

ghost commented 5 years ago

In that case, I'd lean toward the script performing the action by whatever means necessary or as part of manual remediation. Let's make that our task.

ghost commented 5 years ago

@zhiyuli If you accept this, can you close this Issue with label "wontfix"?

zhiyuli commented 5 years ago

@cuahsimarko a second thought --- the "authoring tool" which we will be talking about in next 1 or 2 week would need to use HS rest api (probably hs_restclient as well if clowder team uses python) for everything such as create, edit and manage access over a hs resource.

So rest api mentioned here is needed sooner or later anyway...

ghost commented 5 years ago

Understood. So this GH Issue #92, we're asking Martin to assign to Alva? Side note, I think Scott may have some role in ownership/oversight in this repo, unless I'm mistaken.

ghost commented 5 years ago

Or maybe you're asking a new ticket be created in hydroshare/hydroshare for Alva & Co to work, and this #92 gets asked of Scott to work?