Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
17 Oct 2023 at 09:43 UTC
Updated:
24 Nov 2023 at 14:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
fathima.asmat commentedComment #3
vishal.kadamThank you for applying!
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.
The important notes are the following.
phpcs --standard=Drupal,DrupalPracticeon the project, which alone fixes most of what reviewers would report.To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #4
vishal.kadamFILE: src/Form/SettingsForm.php
Form fields title must be translated strings.
Comment #5
fathima.asmat commentedAh, thanks @vishal.kadam - I have missed it from the title but added to description field. I have pushed the requested fix now, see https://git.drupalcode.org/project/author_bulk_assignment/-/commit/4a1f6...
Comment #6
fathima.asmat commentedComment #7
vishal.kadamRest looks fine to me.
Let’s wait for other reviewers to take a look and if everything goes fine, you will get the role.
Comment #8
fathima.asmat commentedNormally, does it take really long for the other reviewers to review and verify the application? Drupal Con Liile might have caused some delays :D
Comment #9
harishh commented@fathima.asmat: Please remove .gitignore file.
Comment #10
vishal.kadam.gitignore files are allowed. There is no need to delete them.
Comment #11
yogitar commentedThis warning message is not provide proper details for update entity permission to be required for the author.
Comment #12
vishal.kadam@YogitaR This is not an issue created in a project queue.
Comments in this queue are required to review the project files and report what needs to be changed. We do not debug projects.
Comment #13
fathima.asmat commentedThanks, Yogita, for the suggestion to clarify the warning message. As Vishal pointed out, this pertains to a security application issue for the project, and we should only use this for addressing security, code quality related or breaking issues.
Since the reported issue is more of an improvement, it needs to be created as an issue in the project's issue queue. I've just done that for you and marked it as resolved in a new release. Feel free to review and provide feedback on that project's issue here: https://www.drupal.org/project/author_bulk_assignment/issues/3398675. I've credited you for your contribution in checking the module and suggesting the improvement. 😊
Vishal, your continued feedback and advice are greatly appreciated! +1
Comment #14
fathima.asmat commentedCould @apaderno or one of the core reviewers please kindly review this application and feedback? It is affecting our live deployment as our client is really pushing hard to get the security cover for this project before go live.
Many thanks in advance.
Comment #15
andrei.vesterliHi @fathima.asmat
Thx a lot for your contribution to the Drupal community. A great respect from me. I did a smoke testing and a review of your module and here are some comments:
composer.jsonfile looks a bit uncompleted. Here is how to configure it https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-fileREADME.mdfile. Here is an example on how to write it properly: https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or...hook_helpdefinition as this is a best practice for a new Drupal module development.SettingsFormclass (as forauthor_bulk_assignment.settings)Again, great job!
Comment #16
andrei.vesterliComment #17
fathima.asmat commentedThanks andrei.vesterli for the feedback.
I have added the suggested improvements to README, composer.json files along with the hook_help to the module.
I haven't added a default install config for default settings as I don't want to keep the bulk option on for any entity type by default until the admin manually turns that option on after installation.
Comment #18
fathima.asmat commentedComment #19
andrei.vesterliHi @fathima.asmat
Great! I have no comments here. This is OK from my side.
Regards,
Andrei
Comment #20
avpadernosrc/Form/SettingsForm.php
A form class that extends
ConfigFormBaseis for saving values in a configuration object. When the action done is different, the parent class must be different.Since the module is declared compatible with any Drupal 9 version, it cannot use PHP 7.4 features, as only Drupal 9,4 dropped the support for PHP 7.3 or lower versions.
The documentation comment for constructors is not mandatory anymore, If it is given, the description must be Constructs a new [class name] object. where [class name] includes the class namespace. It must also describe the accepted parameters.
The label must be a translatable string, as any other strings shown to site users.
Since that is not a method defined from the parent class, its description comment cannot contain
{@inheritdoc}.author_bulk_assignment.install
For what I recall, Drupal core already uninstall the entities a module that is uninstalled defined. There is no need to implement that code.
author_bulk_assignment.libraries.yml
version: VERSIONVERSIONis only used by Drupal core modules. With contributed modules, that would increase the library version when there are no changes in the library itself.Comment #21
fathima.asmat commentedMany thanks for your feedback, Apaderno. All your comments are addressed and the updates are pushed to 1.0.x branch.
Comment #22
fathima.asmat commentedComment #23
avpadernoFormBasehas already a$messengerproperty, which does not need to be redefined.setMessenger()andgetMessenger()should be used to initialize that property and to get the value stored in that property.Comment #24
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 #25
avpadernoComment #26
fathima.asmat commentedGreat news, thanks everyone!!!