Backend: Validate only agent and flows with at least 1 released version can be made public
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
There should be no public AI catalog items that do not have a released version.
There are a couple of reasons for this at least:
- There is logic around versioning that prohibits a version from being changed once it has been released. While the only version is a draft, it can be changed at any time
- Flows that do not have a released version will not be able to be enabled #566007
Proposal
Add a validation to Item that it needs at least 1 released version before it can be made public
Edited by 🤖 GitLab Bot 🤖