craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
288 stars 139 forks source link

search through admins if selected as a field source #1337

Closed i-just closed 1 year ago

i-just commented 1 year ago

Description

This PR changes how Users field sources are parsed. If not all sources are selected: iterate through the ones that start with group: and search for matching users based on the group IDs. The other source that could be selected in Craft 3 is admins - if it’s selected, we have to search for the matching user among admins too.

~~This PR should only be merged into v4, please. (I’ll raise a separate one for v5 as there we also have to take care of credentialed and inactive sources.)~~ It should be ok to merge into v4 and v5, but v5 needs one more PR (#1338) to take care of credentialed and inactive sources.

Related issues

844