You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: