Skip to content

Conversation

jiparis
Copy link
Member

@jiparis jiparis commented Jul 28, 2025

Those constraints were adding the role field to the list of unique fields, making the duplicity protection ineffective for different roles.

Removing role makes it unique (one only explicit membership, onle only inherited from the same parent)

Note that this fix is assuming previous database data is correct.

Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
@jiparis jiparis requested review from migmartri, javirln and tknura July 28, 2025 12:42
@jiparis jiparis merged commit d7a13c6 into chainloop-dev:main Jul 28, 2025
13 checks passed
@jiparis jiparis deleted the PFM-3404-duplicated branch July 28, 2025 19:23
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