Problem/Motivation
I want blocked user to be unblocked after a time I can specify in configuration. Currently there is not such option, once user is blocked I have to manually unblock that user.
Proposed resolution
Add an option for defining time at which user get unblocked.
Remaining tasks
Creating the feature
User interface changes
Add Field to define time.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3342951-8-2.x.patch | 15.99 KB | jsutta |
| #8 | 3342951-8-2.0.1.patch | 16.03 KB | jsutta |
| #4 | 3342951-3.patch | 6.09 KB | divyansh |
Comments
Comment #2
divyansh commentedHi, I have created the following patch, that will fullfill the feature request, more things can be added to it, as per requirement. Please review it.
Comment #4
divyansh commentedHi, I have added the patch, without any test.
Please someone write the test cases for this patch.
Thank you
Comment #5
usmanjutt84@divyansh, I am also trying to create similar functionality using Auto Unblock Users module.
Comment #6
jsutta commentedHi @divyansh,
I've made a couple adjustments to your patch to add an optional message to be displayed to the user if their account is locked out. For the site I'm currently working on, we have to be able to:
I've attached my version of the patch to this comment in case you want to incorporate it or in case anyone else needs it. If it fails automated testing I'll do my best to fix them.
Comment #7
jsutta commentedRerolled the patch from #6 against the latest dev branch after I saw the tests couldn't be done because the patch wouldn't apply. Hopefully this one works!
Comment #8
jsutta commentedI've been doing some more work on this. I found that because my first patch (#6) was developed against version 2.0.1, it wouldn't apply to the latest 2.x-dev branch. I've developed and completed functional testing on two new patches:
As soon as I have time I'll circle back around to the unit testing.