In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
657 | [In-Portal CMS] Admin Interfaces | feature request | N/A | 2010-03-27 17:14 | 2012-07-25 05:32 |
|
|||||
Reporter: | Dmitry | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 5.0.3-B1 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.2.0-B1 | ||
Reference: | http://groups.google.com/group/in-portal-dev/browse_thread/thread/9d3a9f7e8a0e070 | ||||
Change Log Message: | Added ability to reset Root password | ||||
Estimate Points: | 1 | ||||
|
|||||
Summary: | 0000657: Ability to Reset ROOT password to access Admin Console | ||||
Description: |
I think it's time to think and implement the ability to reset ROOT password by email or something else. We are coming across this issue from time to time. I know can change it by hand directly in DB, but it's not the easiest way for users so we should come up with easy and save way of doing it. My proposal is: When DBG_RESET_ROOT option is enabled (new - needs to be added) we can show additional Link right below Login form which will email the password to website administrator (email specified as main email address for the website). Since password for ROOT user is not lost on a daily basis this should do the work. |
||||
Steps To Reproduce: | |||||
Additional Information: |
Plan: 1. create new ROOT.RESET.PASSWORD email event (Type = Admin); see other email events with this type to determine what values should be placed in other fields 2. export newly created record from Events table into install/upgrades.sql and install/install_data.sql (make sure, that there are no translatable columns present in insert statement, see other events in install_data.sql to get idea) 3. Event text could be: "Your new password is: <inp2:m_Get name="root_password"/>" 1. create u:OnResetRootPassword event, that would use - kUtil::generatePassword method to generate new password - kPasswordFormatter::EncryptPassword with proper salt (see user event handler) to encrypt password - kApplication::SetConfigValue to change RootPass configuration variable value - send newly create e-mail event to admin via kApplication::EmailEventAdmin method - do $event->SetRedirectParam('reset', 1) 4. in UsersEventHandler::CheckPermission method allow that event execution only, when DBG_RESET_ROOT constant is defined & set (e.g. defined('DBG_RESET_ROOT') && DBG_RESET_ROOT) 5. add a "Reset "root" password" link (will be a phrase) under admin login form, when DBG_RESET_ROOT constant is defined & set 6. once link from above is clicked, then call u:OnResetRootPassword event 7. add a check for "reset" url parameter via m_if tag to login template and display nice alert message, like "Your "root" password has been reset. Please remove DBG_RESET_ROOT constant and check your e-mail address." 8. do language pack export & merge to install/english.lang 9. do install/upgrade to verify that database content after upgrade/install will match the on you've create right now ------------ Hours: 1. new e-mail event - 1 h 2. new event - 0.5 h 3. template modifications - 0.5 h 4. install/upgrade/export stuff - 1 h ---- total: 3 h |
||||
Relationships | |||||
Attached Files: |
reset_root_password_657.patch (7,159) 2011-10-03 10:28 http://tracker.in-portal.org/file_download.php?file_id=1184&type=bug reset_root_password_657.2.patch (6,866) 2011-10-04 10:54 http://tracker.in-portal.org/file_download.php?file_id=1208&type=bug root_password_reset_v3.patch (12,640) 2011-10-05 07:08 http://tracker.in-portal.org/file_download.php?file_id=1209&type=bug reset_root_password_only_in_debug_mode.patch (1,159) 2011-12-13 03:44 http://tracker.in-portal.org/file_download.php?file_id=1371&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-25 05:32 | alex | Note Added: 0005026 | |||
2012-07-25 05:32 | alex | Status | resolved => closed | ||
2011-12-13 03:47 | alex | Note Added: 0004252 | |||
2011-12-13 03:47 | alex | Status | reviewed and tested => resolved | ||
2011-12-13 03:47 | alex | Resolution | reopened => fixed | ||
2011-12-13 03:47 | alex | Assigned To | !COMMUNITY => alex | ||
2011-12-13 03:47 | alex | Changeset attached | 5.2.x r14862 | ||
2011-12-13 03:46 | alex | Note Added: 0004251 | |||
2011-12-13 03:46 | alex | Status | needs testing => reviewed and tested | ||
2011-12-13 03:46 | alex | Assigned To | alex => !COMMUNITY | ||
2011-12-13 03:46 | alex | Developer | erik => alex | ||
2011-12-13 03:46 | alex | Status | needs feedback => needs testing | ||
2011-12-13 03:45 | alex | Note Added: 0004250 | |||
2011-12-13 03:44 | alex | File Added: reset_root_password_only_in_debug_mode.patch | |||
2011-12-12 18:05 | Dmitry | Note Added: 0004246 | |||
2011-12-12 18:05 | Dmitry | Status | resolved => needs feedback | ||
2011-12-12 18:05 | Dmitry | Resolution | fixed => reopened | ||
2011-12-12 02:46 | alex | Status | needs feedback => resolved | ||
2011-12-12 02:46 | alex | Resolution | reopened => fixed | ||
2011-12-12 02:46 | alex | Note Added: 0004241 | |||
2011-12-09 16:08 | Dmitry | Note Added: 0004239 | |||
2011-12-09 16:08 | Dmitry | Status | resolved => needs feedback | ||
2011-12-09 16:08 | Dmitry | Resolution | fixed => reopened | ||
2011-10-22 05:31 | alex | Estimate Points | => 1 | ||
2011-10-05 07:11 | alex | Note Edited: 0004012 | bug_revision_view_page.php?bugnote_id=0004012#r864 | ||
2011-10-05 07:10 | alex | Note Added: 0004013 | |||
2011-10-05 07:10 | alex | Status | reviewed and tested => resolved | ||
2011-10-05 07:10 | alex | Fixed in Version | => 5.2.0-B1 | ||
2011-10-05 07:10 | alex | Resolution | open => fixed | ||
2011-10-05 07:10 | alex | Assigned To | !COMMUNITY => alex | ||
2011-10-05 07:10 | alex | Changeset attached | 5.2.x r14633 | ||
2011-10-05 07:09 | alex | Note Added: 0004012 | |||
2011-10-05 07:09 | alex | Assigned To | alex => !COMMUNITY | ||
2011-10-05 07:09 | alex | Status | needs testing => reviewed and tested | ||
2011-10-05 07:08 | alex | File Added: root_password_reset_v3.patch | |||
2011-10-04 10:56 | erik | Note Added: 0004006 | |||
2011-10-04 10:56 | erik | Assigned To | erik => alex | ||
2011-10-04 10:56 | erik | Status | needs work => needs testing | ||
2011-10-04 10:54 | erik | File Added: reset_root_password_657.2.patch | |||
2011-10-03 12:10 | alex | Note Added: 0003977 | |||
2011-10-03 12:10 | alex | Assigned To | alex => erik | ||
2011-10-03 12:10 | alex | Status | needs testing => needs work | ||
2011-10-03 10:29 | erik | Time Estimate Removed | 3 => | ||
2011-10-03 10:29 | erik | Note Added: 0003970 | |||
2011-10-03 10:29 | erik | Assigned To | erik => alex | ||
2011-10-03 10:29 | erik | Developer | => erik | ||
2011-10-03 10:29 | erik | Status | needs work => needs testing | ||
2011-10-03 10:28 | erik | File Added: reset_root_password_657.patch | |||
2011-10-03 10:28 | erik | File Deleted: reset_root_password_657.patch | |||
2011-10-03 10:19 | erik | File Added: reset_root_password_657.patch | |||
2011-09-26 03:52 | alex | Time Estimate Added | 3 | ||
2011-09-26 03:52 | alex | Additional Information Updated | bug_revision_view_page.php?rev_id=829#r829 | ||
2011-09-25 09:28 | Dmitry | Change Log Message | => Added ability to reset Root password | ||
2011-09-25 09:28 | Dmitry | Assigned To | => erik | ||
2011-09-25 09:28 | Dmitry | Status | active => needs work | ||
2011-09-25 09:28 | Dmitry | Target Version | Icebox => 5.2.0 | ||
2010-03-27 17:18 | alex | Reporter | alex => Dmitry | ||
2010-03-27 17:14 | alex | New Issue | |||
2010-03-27 17:14 | alex | Reference | => http://groups.google.com/group/in-portal-dev/browse_thread/thread/9d3a9f7e8a0e070 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|