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

Allow to use backed enumerations as permission name in CurrentUser::can() method #97

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

vjik
Copy link
Member

@vjik vjik commented Apr 13, 2024

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues Fix #93

@vjik vjik changed the title Can enum Allow to use backed enumerations as permission name in CurrentUser::can() method Apr 13, 2024
Copy link

codecov bot commented Apr 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.61%. Comparing base (5ebd946) to head (8c1ecdc).

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #97   +/-   ##
=========================================
  Coverage     99.61%   99.61%           
- Complexity       98       99    +1     
=========================================
  Files            13       13           
  Lines           259      261    +2     
=========================================
+ Hits            258      260    +2     
  Misses            1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik vjik requested a review from a team April 13, 2024 12:17
@vjik vjik added the status:code review The pull request needs review. label Apr 13, 2024
@vjik vjik merged commit 701d62c into master Apr 14, 2024
19 checks passed
@vjik vjik deleted the can-enum branch April 14, 2024 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow pass BackedEnum as permission to CurrentUser::can()
3 participants