Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
5 May 2023 at 13:06 UTC
Updated:
18 Jul 2023 at 16:49 UTC
Jump to comment: Most recent
Comments
Comment #2
vishal.kadamThank you for applying! Reviewers will review the project files, describing what needs to be changed.
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
To reviewers: Please read How to review security advisory coverage applications, What to cover in an application review, and Drupal.org security advisory coverage application workflow.
While this application is open, only the user who opened the application can make commits to the project used for the application.
Reviewers only describe what needs to be changed; they don't provide patches to fix what reported in a review.
Comment #3
vishal.kadamComment #4
avpadernonode_inspector.routing.yml
The node_inspector.inspect_node route is accessible to users who has the access node inspector permission. Users with that permission would be able to see data for unpublished nodes, even if they do not have the permission to see unpublished nodes. Users with that permission would be able to see data for nodes to which they do not have access; this makes the access node inspector permission very close to the Bypass content access control, since it allows them to bypass the content access control and see data for node to which they do not have access.
Furthermore, the node_inspector.inspect_node route also show information for all the revisions to users without the View all revisions permission or the permission to see revisions for a specific content type.
node_inspector.module
The documentation comment is missing.
src/Controller/NodeInspector.php
The class description is not the correct one.
The short description does not seem correct.
The documentation comment is missing the parameters and the return value descriptions.
Comment #5
vishal.kadamFix phpcs issues.
Comment #6
arcaicI have fixed the coding standards issues and taken onboard the security recommendations.
By its nature this module is useful only for developers so rather than alter/add to the permissions needed to allow it to work I have made the following changes..
New release, now beta7.
Comment #7
vishal.kadamComment #8
vishal.kadamI have reviewed the changes, and they look fine to me.
Let’s wait for other reviewers to take a look and if everything goes fine, you will get the role.
Thanks
Comment #9
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the Slack #contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the reviewers.
Comment #10
avpaderno