-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: plugin:users-permissionsSource is plugin/users-permissions packageSource is plugin/users-permissions packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
When we try to populate the relational fields on the user-permissions => users model, the response doesn't populate the relational fields.
Steps to reproduce the behavior
- Create a user in the Users-Permissions
- Create some other collection type and link it with user
- Enable public find permission on both
- Send a GET request to the /users with "?populate=*"
- Response won't contain the relational field
Expected behavior
Appending ?populate=* to the API request to the user-permissions => users model, the response should contain the relational fields.
System
- Node.js version: 14.15.3
- NPM version: 6.14.9
- Strapi version: 4.0.0
- Database: MariaDB
- Operating system: MacOS
Additional context
PR #11795 is about fixing filtering on the same User-permissions => users model. I have also added that new code changes to my project. Filtering does work, but the population doesn't.
creative-ae, joh-sch, themaxaboy, ricafolio, thomaslecoeur and 26 morecreative-ae, Nisthar and TomRobertocreative-ae, forntoh and creaseajcreative-ae and Nistharcreative-ae and Nistharcreative-ae, drubetti, Nisthar, selected-pixel-jameson and james-theretreater
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: plugin:users-permissionsSource is plugin/users-permissions packageSource is plugin/users-permissions packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Type
Projects
Status
Archived