Skip to content

Conversation

@vatsalparekh
Copy link
Contributor

@vatsalparekh vatsalparekh commented Mar 5, 2024

Issue:

Add validation to not admit RoleTemplates with both context=cluster & ProjectCreatorDefault=true

Problem

SURE-7635

Solution

Add a check for this field in validation

CheckList

  • Test
  • Docs

@vatsalparekh vatsalparekh force-pushed the cluster-context-ProjectCreatorDefault branch from 5a9801f to 9eaa18d Compare March 20, 2024 09:02
@vatsalparekh vatsalparekh marked this pull request as ready for review March 20, 2024 09:06
@vatsalparekh vatsalparekh requested a review from a team as a code owner March 20, 2024 09:06
@samjustus
Copy link

rancher/rancher#44860

@samjustus samjustus requested a review from bigkevmcd March 21, 2024 18:22
Copy link
Contributor

@bigkevmcd bigkevmcd left a comment

Choose a reason for hiding this comment

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

While I think the actual fix is fine, I think we can improve the tests to clarify that they're testing.

@JonCrowther JonCrowther self-requested a review March 25, 2024 20:30
@vatsalparekh vatsalparekh requested a review from bigkevmcd March 27, 2024 09:18
… ProjectCreatorDefault=true

Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
Signed-off-by: Vatsal Parekh <[email protected]>
@vatsalparekh vatsalparekh force-pushed the cluster-context-ProjectCreatorDefault branch from d9f1686 to 9d7db6b Compare April 1, 2024 12:35
Signed-off-by: Vatsal Parekh <[email protected]>
Copy link
Contributor

@bigkevmcd bigkevmcd left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@bigkevmcd bigkevmcd merged commit 81fbbb8 into rancher:release/v0.5 Apr 2, 2024
@vatsalparekh vatsalparekh deleted the cluster-context-ProjectCreatorDefault branch April 3, 2024 07:55
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.

4 participants