-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Address multiple users & permissions issues #13435
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
Conversation
|
@WalkingPizza If you can have a look here that would be awesome ! |
Codecov Report
@@ Coverage Diff @@
## master #13435 +/- ##
=======================================
Coverage 54.25% 54.25%
=======================================
Files 1198 1198
Lines 30601 30601
Branches 5565 5565
=======================================
Hits 16603 16603
Misses 12178 12178
Partials 1820 1820
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
packages/plugins/users-permissions/server/services/providers.js
Outdated
Show resolved
Hide resolved
Co-authored-by: kwang1198 Please enter the commit message for your changes. Lines starting
|
Patch files for patch-package based on f7f9ecc |
|
Testing the following based on f7f9ecc
|
49a9a17 to
573d56b
Compare
|
This pull request has been mentioned on Strapi Community Forum. There might be relevant details there: https://forum.strapi.io/t/users-me-is-not-returning-relation-field-of-type-belong-to-many/3911/5 |
|
Sorry @alexandrebodin didn't get a chance to test this before, I'll try testing tmrw when I'm at coworking space for the docs side |
|
@WalkingPizza / @Convly if both of you could test before next wednesday we might be able to squeeze this into 4.2 release but Alex wants at least one Strapi engineer to review. Maybe if @petersg83 gets some time if JS doesn't? |
|
Haven't had the chance to test anything yet, but I noticed we are still relying on the Query Engine API for most operations in the U&P controllers. Since quite a lot of things have been changed, should we also switch to the Entity Service API while we are at it? |
😅 This is something I brought up internally and with @iicdii too and I think we decided to do as little modification as possible to just make sure stuff works without fundamentally rewriting/refactoring the plugin. Soon (tm), and with a TBD date we plan to replace this plugin with a new one that will allow us to deprecate this one as we don't implement breaking changes that require us to bump this package to v5.x.x. |
|
@WalkingPizza anywhere specific you think we would benefit from the entityService? I'll have a look |
|
While this fixes the population problem of the
has no option to populate a user, was using nested collections in the old version with MongoDB, and would be great if I could use it in the new version, too. Any thoughts on this? |
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.
LGTM
|
This pull request has been mentioned on Strapi Community Forum. There might be relevant details there: |
What does it do?
Addresses bug mentioned in #12322 and #12301
Why is it needed?
See history in linked PR and issue
How to test it?
Related issue(s)/PR(s)
populate=*query param not working for/meendpoint #13296