Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2012 at 13:02 UTC
Updated:
20 Feb 2013 at 18:32 UTC
Hi,
I've created a module for masking parts of content for certain users, based on their roles or uids.
The module extends the shortcode module with a custom shortcode for defining the masking parts.
The module's sandbox can be found here;
http://drupal.org/sandbox/robinvdvleuten/1845578
The module's repository can be cloned like this;
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/robinvdvleuten/1845578.git content_mask
Thanks in advance for reviewing!
Comments
Comment #1
parwan005 commentedHi,
Here are the details after your manual review :-
1) rather than return '' in function you should use return;
2) function content_mask_shortcode_tips() is empty, you should remove it.
3) why $GLOBALS['user'] and not global $user ? When drupal is providing you the same thing why not use that?
Thanks
Parwan
Comment #2
robinvdvleuten commentedHi Parwan,
Thanks for reviewing the module! I've incorporated your suggestions in the module.
Comment #3
robinvdvleuten commentedI've included support for Organic Groups and the shorttag handling is now done by the module itself.
Comment #4
mohs3n71 commentedyou should copy your git clone link here not just the .git link
when i try to clone your code i see this error : Warning: remote HEAD refers to nonexistent ref, unable to checkout.
and i cant clone your code ...
please fix this
and also automatic review finds some issues in your code
you can see them from here : http://ventral.org/pareview/httpgitdrupalorgsandboxrobinvdvleuten1845578git
Comment #5
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #6
robinvdvleuten commentedAll minor issues detected by the automatic PAReview are removed:
http://ventral.org/pareview/httpgitdrupalorgsandboxrobinvdvleuten1845578git
Comment #7
asifnoor commentedDid a quick manual review and here is one suggestion i have.
1. If possible, separate html from php code. (ref: content_mask_filter_tips)
Comment #8
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #8.0
klausiAdded the git clone link.