Skip to content

Fix catalogItemId resolution when validating whitelisted roles - #87

Open
ivan-risueno wants to merge 2 commits into
masterfrom
bugfix/forbid-deletion-to-non-team-nor-manager-users
Open

Fix catalogItemId resolution when validating whitelisted roles#87
ivan-risueno wants to merge 2 commits into
masterfrom
bugfix/forbid-deletion-to-non-team-nor-manager-users

Conversation

@ivan-risueno

Copy link
Copy Markdown
Contributor

No description provided.

@Service
@Slf4j
@AllArgsConstructor
public class CatalogItemSlugResolver {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At component catalog, we have

https://github.com/opendevstack/ods-component-catalog/blob/master/src/main/java/org/opendevstack/component_catalog/server/services/slug/CatalogItemSlug.java

I think it makes sense to unify and use exactly same class (so, if some day we generate a shared library or so, we reduce refactor collisions)

@ivan-risueno ivan-risueno Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, working into it

EDIT: We will work on an isolated slug conversion in the future, agreed with the team.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants