Skip to content

Fix catalogItemId resolution when validating whitelisted roles - #87

Merged
ivan-risueno merged 2 commits into
masterfrom
bugfix/forbid-deletion-to-non-team-nor-manager-users
Sep 15, 2026
Merged

ivan-risueno merged 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

@ivan-risueno
ivan-risueno merged commit 3bed38a into master Sep 15, 2026
3 checks passed
@ivan-risueno
ivan-risueno deleted the bugfix/forbid-deletion-to-non-team-nor-manager-users branch September 15, 2026 07:40
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.

3 participants