frontier icon indicating copy to clipboard operation
frontier copied to clipboard

Fix non-functional Update Resource API

Open mabdh opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Shield's update resource API is just forwarding what user put and stores it in the DB. However this behaviour is not valid. The behaviour of Update API should be similar with Create resource API. In Update Resource API, we also need to remove and re-add org/owner/team to the resource and not just simply update the data in DB. Calling our current update resource API will leave our DB and AuthzDB in inconsistent state.

Describe the solution you'd like Fix the behaviour of Update resource DB or if it is not usable, better to remove it.

mabdh avatar Aug 18 '22 08:08 mabdh

@kushsharma is this still applicable?

ravisuhag avatar Sep 24 '23 19:09 ravisuhag