Feature #8208

Allowing user accounts without password and disallowing login

Added by Laurent Gautrot over 11 years ago. Updated over 11 years ago.

Status:NewStart date:2011-04-21
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Accounts / authentication
Target version:-
Resolution:

Description

Upon user account creation, the user password is mandatory.

I would like to display users, but prohibit login. Thus user account locking is not a solution here.

One workaround is to set a complex random password and avoid sending it to the user.

Is it feasible to add a checkbox (say under the password input field) to bypass the password length test, and as a result get a (somewhat) regular account unable to login ?

History

#1 Updated by Etienne Massip over 11 years ago

  • Category set to Accounts / authentication

I don't see such a change to be integrated into Redmine one day, what do you mean by "display users" ?

#2 Updated by Laurent Gautrot over 11 years ago

"display users" means I would like them to appear as regular users. But I don't want them to be able to login.

In fact, I don't want to bother with password generation, and I wouldn't provide users with trivial password, especially at setup time when I might bulk-create dozens of accounts.

The behaviour I'd like to have is somewhat the same as account expiration or password expiration in UNIX systems.

I guess it would be easy to set the password to NULL, and as a result, user accounts would still exist but would remain unusable until a password change/reset by an admin.

#3 Updated by Etienne Massip over 11 years ago

Laurent Gautrot wrote:

"display users" means I would like them to appear as regular users. But I don't want them to be able to login.

What for ?

#4 Updated by Laurent Gautrot over 11 years ago

At first, I want users to appear because they are related to at least one project. If I need to get info at a glance about a project, I would like to see the list of users and their role.

Only when needed, I would setup their password and allow connection.

#5 Updated by Dmitry Babenko over 11 years ago

Laurent Gautrot wrote:

At first, I want users to appear because they are related to at least one project. If I need to get info at a glance about a project, I would like to see the list of users and their role.

May be it would be enough for you to list that users in project description or create a custom field called "Users" for the project. And create accounts only when they really needed.

Also available in: Atom PDF