Improve consistency on the web-api across all shareable resources #7011
Labels
a:api
framework api, data schemas,
a:webserver
issue related to the webserver service
idea
Proposed new functionality that is still not implemented
t:enhancement
Improvement or request on an existing feature
The web-api exposes some shareable resources, namely
project
,tag
,wallet
,workspace
,service
. We need ensure consistency on the sharing interface across all of them:GET /tags/{tag_id}/groups
returns list foPOST /tags/{tag_id}/groups/{group_id}
withaccess_rights
: to sharetag_id
withgroup_id
with givenaccess_rights
PATCH /tags/{tag_id}/groups/{group_id}
withaccess_rights
: to update accessDELETE /tags/{tag_id}/groups/{group_id}
to unsharemyAccessRights
GET /tags/{tag_id} -> TagGet
andTagGet.myAccessRights
tag
cannot be shared with everyone group orwallet
can only be shared among users (i.e. primary groups)The text was updated successfully, but these errors were encountered: