Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserRules::create() validate roles #6694

Merged

Conversation

distantnative
Copy link
Member

@distantnative distantnative commented Sep 22, 2024

Description

Summary of changes

  • UserRules::create() also validates if role is a valid option

Reasoning

Consistency and the rules class should double check this as well.

Ready?

  • In-code documentation (wherever needed)
  • Unit tests for fixed bug/feature
  • Tests and CI checks all pass

@distantnative distantnative added this to the 4.5.0 milestone Sep 22, 2024
@distantnative distantnative self-assigned this Sep 22, 2024
@distantnative distantnative changed the title Enhancement/user rules validate roles UserRules::create() validate roles Sep 22, 2024
@distantnative distantnative force-pushed the enhancement/user-rules-validate-roles branch from 980aca1 to cfd255b Compare September 24, 2024 08:40
@distantnative distantnative marked this pull request as ready for review September 24, 2024 08:43
@distantnative distantnative requested a review from a team September 24, 2024 08:43
@bastianallgeier bastianallgeier self-requested a review September 24, 2024 09:22
@bastianallgeier bastianallgeier merged commit 09eea10 into develop-minor Sep 24, 2024
14 checks passed
@bastianallgeier bastianallgeier deleted the enhancement/user-rules-validate-roles branch September 24, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants