Active
Project:
Feeds
Version:
8.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
15 Sep 2022 at 08:08 UTC
Updated:
15 Sep 2022 at 15:06 UTC
Jump to comment: Most recent
After importing the feed, Imported list showing less rows or blank for non admin for unpublished nodes for non admin user roles
Currently all queries having check access : https://www.drupal.org/node/3157393
So, with entity query need to set ->accessCheck(FALSE) to view all items in the list.
Attaching the patch here with
| Comment | File | Size | Author |
|---|---|---|---|
| feeds_import_list_access_fix.patch | 549 bytes | only4kaustav |
Comments
Comment #2
megachrizI think that the current behaviour is correct. Else it would be a security issue if someone is able to view content that he/she doesn't have access to. Or is content that the current logged in user owns also not shown?
Comment #3
megachrizNote: in #3287478: Automated Drupal 10 compatibility fixes I explicitly added
accessCheck(TRUE)In ItemListController.Comment #4
only4kaustav commentedHi @MegaChriz,
These contents those the current logged in user owns also not shown if those are unpublished.
As I said, the permission of "view own unpublished content" also enabled for this user role.
Thanks