Description
- This module allows the users having configured role to Login with Email address only.
- Useful for sites where the User roles don't have any administrative permissions so they don't have to remember username and password and simply Login with Email id.
- Administrator role is excluded from the functionality of this module
Sample Use Case
- Suppose you want more users to Login to your website so you don't want your users to remember passwords
as well as you are giving them just ability to download some documents(i.e. Not critical rights)
and also you don't mind user login is being impersonated
So,in such case you can very well use this module.
Warning
- This Module has Security implications as it allows to login just on Email id.
- Anyone can Login as another user by just knowing Email id.
Similar Projects and Difference
- Passwordless : Passwordless sends Login link through mail whereas Role based Email Login allows user to login directly without sending email.
- Email Registration : Email Registration allows users to login with email address and password whereas Role based Email Login allows users with configured role to login with email address only.
Sandbox URL
Project page: https://www.drupal.org/sandbox/nlohar/2397155
Git Access
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/nlohar/2397155.git role_based_email_login
Automated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxnlohar2397155git
Reviews of other projects
- https://www.drupal.org/node/2398741#comment-9468061
- https://www.drupal.org/node/2392273#comment-9472833
- https://www.drupal.org/node/2385131#comment-9476665
- https://www.drupal.org/node/2338365#comment-9476885
- https://www.drupal.org/node/2411257#comment-9538917
- https://www.drupal.org/node/2407057#comment-9541445
- https://www.drupal.org/node/2407203#comment-9538413
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | role_based_login_sucess.jpg | 8.04 KB | pushpinderchauhan |
| #10 | role_based_login.jpg | 12.63 KB | pushpinderchauhan |
| #10 | select_role.jpg | 14.07 KB | pushpinderchauhan |
Comments
Comment #1
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 #2
valentine94Would be good to provide a some Simpletests or PHPUnit tests.
Comment #3
klausiWriting tests is not a requirement - anything else you found during your manual review or should this be RTBC instead?
Comment #4
valentine94Comment #5
nileshlohar commentedHi Valentine94 and klausi,
Thank you for your efforts and time.
Comment #6
nileshlohar commentedComment #7
klausiRemoving review bonus tag, you have not done all manual reviews, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects, as requested on the review bonus page.
Comment #8
nileshlohar commentedComment #9
pushpinderchauhan commentedAssigning to myself for next review.
Comment #10
pushpinderchauhan commentedAutomated Review
Best practice issues identified by pareview.sh / drupalcs / coder. None
Review of the 7.x-1.x branch (commit 2636750):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Manual Review
$form_state['values']['role_based_email_login_roles']);": all variables defined by your module need to be removed in hook_uninstall().
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
Comment #11
nileshlohar commentedThanks er.pushpinderrana for you review.
All the Issues are now resolved.
Comment #12
nileshlohar commentedComment #13
moserk commentedAutomated Review
Review of the 7.x-1.x branch (commit 2397ea5):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Source: http://pareview.sh/ - PAReview.sh online service
Manual Review
Comment #14
nileshlohar commentedThanks moserk.
Issue was because variable_set() stores zero valued array if you set and unset the configuration.
Anyways that code is now Fixed.
Comment #15
nileshlohar commentedComment #16
klausiComment #17
klausimanual review:
So the project page is a blocker right now, users should be really aware that this module can be very dangerous. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #18
nileshlohar commentedHi Klausi,
Thanks for your review.
I have updated project page (Role based Email Login) and code.
for 1. --> I have added it on project page.
for 2 --> I have added use case and warning on project page.
if users don't have any sensitive rights to require password. as well as don't want extra iteration of email login link
and you are okay with it that users can impersonate then you can use this module.
for 3 & 4 --> I have corrected code.
Comment #19
nileshlohar commentedComment #20
naveenvalechaAll the above metion issues has been addressed. Setting this to RTBC :)
Comment #21
klausimanual review:
Not major blockers, so ...
Thanks for your contribution, nileshlohar!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, 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.
Thanks to the dedicated reviewer(s) as well.
Comment #22
nileshlohar commentedThanks klausi
Thanks naveenvalecha
Thanks everyone for your reviews !!!