Closed (fixed)
Project:
PKI Authentication
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
17 Dec 2012 at 00:38 UTC
Updated:
19 Dec 2012 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Enable regular login by roles implementing a regular login permission.
Our use case is: 95% percent of users use PKI login, and 5% - admins, power users, moderators - must use regular login.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | regular_login_permission_1868086.patch | 4.04 KB | Drupa1ish |
Comments
Comment #1
Drupa1ish commentedCredit for EuroDomenii
Comment #2
rickwelch commentedQuick review of your patch looks like an extremely useful addition. Will fully review, integrate and push back to drupal.org on Monday.
Thanks!
-Rick
Comment #3
Drupa1ish commentedBig thanks also... Your extension saved my project!
Maybe you should include the keyword "digital signature" in the description of the project, for better indexing.
Comment #4
rickwelch commentedThank you again for the patch. I have implemented it with following minor changes and pushed it back to the repository.
1) Rather than hard coding the validators for user_login I placed your validator just before the final validation.
2) Added your suggested configuration settings validator.
3) Very minor tweaks to verbiage.
Please let me know if I've missed or misunderstood anything. Again thanks for the excellent addition. I am sure that I will use this myself in future projects.
Cheers!
-Rick
Comment #5
Drupa1ish commentedGreat review... Everything looks ok. Unfortunately, I don't have the time to test it now. I shall do it asap.
Comment #6
Drupa1ish commentedAll tests ok.
To respect drupal standards, maybe we should replace regular_login permission with regular login ( without underscore)
Comment #7
rickwelch commentedSorry for the delay. Thanks for the feedback and good catch on the underscore! This has been fixed and pushed back to origin. I hope to rework some of the documentation later this week to reflect the changes.
Again, thank you for the patch and feedback.