Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2022 at 02:32 UTC
Updated:
3 Feb 2022 at 03:09 UTC
Jump to comment: Most recent
Comments
Comment #2
bojanz commentedThe Security Review module should stop analyzing views without a page display. An embedded view is access controlled by the page doing the embedding.
Comment #3
jsacksick commentedThat's exactly what I was about to reply, thanks @bojanz.
Comment #4
ambient.impactI would hope that to be the case, but technically the module has no way of knowing how you use the Views you define in all circumstances, and there's always the chance someone is using a View in an insecure way, outputting it without the proper access restrictions. I'd argue that Security Review flagging Views even if they don't have a page display is better than ignoring them and possibly letting a security hole go unnoticed. Maybe their UX can be improved and they can list those without page displays separately, with the caveat that they might be secure depending on how they're displayed? I can open an issue with them for that.