The D7 core provide two status (blocked and active). I was wondering why new user that are not yet activated by the administrator should be in BLOCKED status (by default). First, the term doesn't suit the user status. Second the new user seems categorized as blocked user wherein we usually blocked user due to abuse or other faulty reason the user have done in our website. The reason behind this might be, because the system administrator want the new user (not yet activated) and the blocked user should have the same level of access. It serve the purpose, but since it is labeled as user account status it should describe the current state of the user. I believe "Pending or In-review" is better and should be added as user account status. If the D7 core developer think this is a small project to be added in the core. Hope they could create a patch or module for this. Thanks in advanced gChen

Comments

karthikkumarbodu’s picture

Assigned: Unassigned » karthikkumarbodu
Issue tags: +user pending status, +new user status

Hi Margreth,
It sounds like adding "Pending" status for user's status is a worthy change to categorize the users who are all pending with account activation from admin. In the "User Settings" when we configure that user account creation requires approval from site administrator and when a new user registers for the site access, it shows a message to the requester that "Approval pending with site administrator and you will be notified with the approval email once approval is completed". Now the admin faces the real problem in knowing which account to be activated seeing the list of users in "User management" because both the users blocked and users with approval pending will be shown with the "Blocked" status.
We need to think of a better and feasible approach to make this status available in core "User" module and the other thing is right now they are storing the users status as Active : 1 and Blocked : 0, so if we plan to make this change available then we may need to change the way the status value is stored in the "users" table and also need to take care of the impacts of this change in other areas/ features. If anyone can comment on this that would be more helpful.

Thanks in advance :)
Karthik Kumar Bodu

damienmckenna’s picture

damienmckenna’s picture

Status: Active » Closed (duplicate)
yogesh soni’s picture

I have same issue but still not recognize how to solve it...
someone has tell me to solve it by using logintoboggan module but still not find its solution.

prachi24’s picture

Version: 7.17 » 10.1.x-dev
Issue summary: View changes

Hi,

Does anyone found proper solution for this? This question seems to be reopen after this many years.
I have a requirement from client that we need to add a new user status "pending" on top of blocked and active. I did a lot of search but didnt find any proper solution.

So basically what I am trying to achieve is when you user registers on the website the status should be "Pending" until it has been approved by manager. Once has been approved the should be "Active" and then user can login and if it has been rejected then the status should be "Blocked".

I am new to Drupal, can someone let me know how can I achive this in Drupal 9?
Any combinations of contrib modules or custom module guidance would be really helpful.

Thanks