Skip to content

feat(ipa): Clarify cascading guideline for IPA-108#115

Merged
lovisaberggren merged 4 commits into
mainfrom
CLOUDP-417158
Jun 26, 2026
Merged

feat(ipa): Clarify cascading guideline for IPA-108#115
lovisaberggren merged 4 commits into
mainfrom
CLOUDP-417158

Conversation

@lovisaberggren

Copy link
Copy Markdown
Collaborator

Clarifies the cascading section of IPA-108: Delete by adding new rule that the API must not delete child resource by default when a parent resource is deleted. Sets up the expectation before presenting the cascading flag as rule nr. 2.

Ticket: CLOUDP-417158

@lovisaberggren lovisaberggren marked this pull request as ready for review June 26, 2026 10:17
@lovisaberggren lovisaberggren requested a review from a team as a code owner June 26, 2026 10:17
Comment thread ipa/general/0108.mdx Outdated
{
"error": 400,
"reason": "Bad Request",
"detail": "The request content produced validation errors.",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

[nit] could you add more descriptive detail message instead?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sure, done!

Comment thread ipa/general/0108.mdx Outdated

<Guidelines>

<Guideline id="IPA-108-must-not-delete-child-resources-by-default" given="delete-operation" enforcement="review" effort="reason">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do you think this should be an implementation check? If so can we add implementation and make the effort=explore

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Oh yeah that makes sense, I was a bit unsure of the new metadata stuff! But yeah this is definitely something that should be checked from the source code. I'll update it, do you think the validation workflow should also be adjusted a bit perhaps?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I updated now and adjusted the workflow too, let me know what you think

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

That is perfect thank you so much. Also as an FYI the CONTRIBUTING has a bit more details regarding the metadata, feel free to have a look and see if anything is unclear

@andmatei andmatei left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lovisaberggren lovisaberggren merged commit f20f6bf into main Jun 26, 2026
9 checks passed
@lovisaberggren lovisaberggren deleted the CLOUDP-417158 branch June 26, 2026 15:38
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