instill-core icon indicating copy to clipboard operation
instill-core copied to clipboard

Resource state change safety check

Open xiaofei-du opened this issue 3 years ago • 0 comments

Similar to #109, if a resource (source/model-instance/destination) is online

  • if the resource is used by any online pipeline, we should not allow the operation to change the resource state from ✅ to â›”.
  • if the resource is used by pipelines that are not online, we should allow the operation to change the resource state.

Related backends:

  • [ ] connector-backend: @pinglin
  • [ ] model-backend: @Phelan164

xiaofei-du avatar Jul 12 '22 23:07 xiaofei-du