Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Overview:
Workbench Moderation State Permission add permissions in order to control access(View|Edit|Delete) by state on content
that moderated using module Workbench Moderation.
This module use hook_node_grands() and hook_node_access_records() in order to grant access to apply the operations on content moderation.
Comparison with other modules:
- Workbench Moderation State Access: Add permission to control access only in edit operation in addition it use
hook_node_access() instead of hook_node_grands() More Details. - Workbench Access Content Type: This module will add a new tab "Content Types" at the configuration page of Workbench Access, to provide permission by Section by Content Type.
The sandbox for this module is at: https://www.drupal.org/sandbox/mhammadattar/2789129
This modules is intended for the Drupal 7 platform.
A git clone command:
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/MhammadAttar/2789129.git workbench_moderation_state_permission
cd workbench_moderation_state_permission
Comment | File | Size | Author |
---|---|---|---|
workbench_moderation_permission_img1.png | 22.75 KB | Mhammad Attar | |
workbench_moderation_permission_img2.png | 20.09 KB | Mhammad Attar |
Comments
Comment #2
Mhammad Attar CreditAttribution: Mhammad Attar as a volunteer and commentedComment #3
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
m.attar CreditAttribution: m.attar commentedComment #5
3ssom CreditAttribution: 3ssom commentedHello Mhammad Attar,
reviewers please don't put this as RTBC without a real review using
the Project Application Review Template.
Automated Review
found some minor errors @
http://pareview.sh/pareview/httpsgitdrupalorgsandboxmhammadattar2789129git
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Manual Review
I'd also recommend another review from another user .. someone who works with workbench closely .. so I will put this as it was Needs Review.
This review uses the Project Application Review Template.
Comment #6
visabhishek CreditAttribution: visabhishek as a volunteer and at Azri Solutions commentedPlease do not assign tickat yourself. Please see See the workflow https://www.drupal.org/node/532400
Comment #7
Mhammad Attar CreditAttribution: Mhammad Attar as a volunteer and commentedHello @3ssom, @visabhishek
First of all, thank you @3ossom for taking your time trying to review the module.
and thank you @visabhishek for your comment!
Actually @3ossom I solved all the points that you mentioned in the comment.
Please Tell me if you still have any kind of problema trying to review it! Thanks!
Comment #8
apadernoPlease change back the priority to Normal after doing a review.
Comment #9
Yasser SammanAutomated Review
Issues found when testing with Pareview.
https://pareview.sh/pareview/https-git.drupal.org-project-workbench_mode...
Manual Review
Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
1. Automated test found some issues, you need to fix them.
Good luck.
Comment #10
sleitner CreditAttribution: sleitner commentedComment #11
apadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity.