hydroshare/hs_restclient

Support modification of owners/editors of a resource

Opened this issue · 8 comments

Support modification of owners/editors of a resource

adding this:
manage resource access control over a Group

@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?

@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

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.

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

@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...

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.

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?