-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
RBAC community edition update #16010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested so far:
- Creating a new role
- Creating a new user with new role
- Creating new content-type (with D&P and i18n)
- Applying permissions to new content-type on new role
- Applying existing conditionals
- Creating new conditional and applying it to content-type
- Validating all permissions work as intended without conditionals
- Validating all permissions work as intended with default conditionals
- Validating all permissions work as intended with custom conditional
- Validate deleting user
- Validate deleting new role
- Validating deleting one of the default roles
- Validate modifying one of the default existing roles
Errors hit:
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## releases/4.8.0 #16010 +/- ##
==================================================
- Coverage 60.68% 60.62% -0.06%
==================================================
Files 1495 1477 -18
Lines 36875 36723 -152
Branches 7358 7328 -30
==================================================
- Hits 22376 22262 -114
+ Misses 12417 12390 -27
+ Partials 2082 2071 -11
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Size Change: -5.08 kB (0%) Total Size: 1.54 MB
ℹ️ View Unchanged
|
@derrickmehaffy Can you sahre the schema of the content type you used & the custom role config ? (screenshot) I can't reproduce at the moment. |
@Aurelsicoko I think this is unrelated to this PR – I will open a new one to fix it, thank you 🙏🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪🏼
FYI @alexandrebodin Aurelien and I were able to reproduce my bug, it has to do with conditionals. I'll try to get a more detailed reproduction of the issue |
@derrickmehaffy I can confirm this PR doesn't introduce the bug it is already in the latest version of Strapi. Can you please open the corresponding issue for it while we release this PR for the next release :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does it do?
Describe the technical changes you did.
Why is it needed?
Describe the issue you are solving.
How to test it?
Provide information about the environment and the path to verify the behaviour.
Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request