Skip to content

Prevent TypeInstance deletion when it's used by others #632

@mszostok

Description

@mszostok

Description

Blocked by: #645

Prevent delete action when TypeInstance is used by others. Currently, we can delete TypeInstance without any notification that others are linked to it. In case of delegated storage proposal, this may break our flow as we won't be able to retrieve data for all linked TypeInstances.

Reason

Currently, we allow deleting TypeInstance that is used by others. Until now, it wasn't a big issue but after introducing delegated storage functionality, it will become more problematic as we use this relation to ask to resolve stored information.

Use cases

  • System User—ensure that it cannot break the TypeInstance resolution unconsciously.

Additional

It's a small piece of the rollback proposal: https://github.com/capactio/capact/blob/main/docs/proposal/20201209-action-rollback.md - rest logic will be handled by dedicated issue #502

Metadata

Metadata

Assignees

Labels

area/hubRelates to HubbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions