Closed JAORMX closed 3 years ago
/retest
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: JAORMX, jhrozek
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest-required
Please review the full test history for this PR and help us cut down flakes.
This PR now validates that the rules added to a tailored profile belong to a relevant type.
As we know, we have the following types:
When building a tailored profile, we want there only to be rules that are gonna be relevant and run as the user expects. Here, you can mix and match the following:
but nothing in between. Platform and Node rules shouldn't mix.
With this validation, users will now see an error in the tailored profile and will not build tailored profiles that don't do what they want.