Description:
Derivations are used to keep track of the relationship between circuits ("circuit_extraction" or "circuit_rewiring"). However, derivations are currently limited to entities within the same project context. In order to allow a user to derive new circuits from existing (public) ones in other projects, inter-project derivations should be made available.
Proposed behavior:
- The owner of the derived entity should be the owner of the derivation
- A derivation must be created within the same project context as the derived entity
- Inter-project derivations should be allowed
- if the parent ("used") entity is private and the user has access to the project of the parent entity
- If the parent ("used") entity is public, disregarding the project
Acceptance criteria:
Derivations from public entities can be created within different projects