プロジェクト

全般

プロフィール

Vote #72451

未完了

Review [[FAQ]] versions 105-107 (about resetting lost password by altering Redmine DB)

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Website (redmine.org)_25
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
25
version_id:
0
issue_org_id:
11779
author_id:
1565
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Some things came up to me while doing a quick scan of versions 105 up to and including 107 of the FAQ which I want to discuss and report:

markup needs to be cleaned (see e.g. the unintended acronym) and the overall readability of the item needs to be drastically improved IMHO

more importantly, should a described manual DB-alteration be included (thus advertised) in the FAQ?

and even more important, is the given information actually right (considering r4936 for #7410)?

I'm not able to test the third - most-important - item currently; therefor it is not reasonable for me to start on the first item at the moment.
Regarding the second item I'm a bit hesitant. I think that manual DB-changes should not be "advised" in the FAQ. What do you think?


journals

Un-assigned the issue (undo automatic category assignee-assignment).
--------------------------------------------------------------------------------
I agree that it's a bit too hacky for a FAQ. Maybe a rake task can be added to reset a lost password if it's actually usefull?
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Maybe a rake task can be added to reset a lost password if it's actually usefull?
Good idea, please see attached rake task.
At first I wanted to just reset the password for 'admin', but some people rename the account so that wouldn't work...

This is my first attempt at a rake task - comments?
--------------------------------------------------------------------------------
Here are mine:
* the User model should be used and code wrapped in some method that can be tested
* the taks should allow changing the password of an existing user (and maybe an optional user creation)
* IMO, it would be better to ask for the new password instead of setting a default one
--------------------------------------------------------------------------------
Sorry if it was a bit of a hack, but I don't know enough about ruby, rails and testing to achieve this... I'm out :-/
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリWebsite (redmine.org)_25 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0