OTP created account does not observe automatic role assignments and admin approval constraint

Created on 30 November 2023, about 1 year ago

Problem/Motivation

User not being added to Authenticated User Role after Account created

Steps to reproduce

User creates account that requires Administrator approval
User receives OTP and successfully creates account
Once the account is verified with OTP it is created and status is auto set to active (This should be bset to blocked since admin approval is required)
No email message sent to administrator to activate account
Account seen in user list with no role assigned (role should be authenticated user no? or should that be set by administrator?)
Email sent to user with onetime password link (this should not be sent until account is approved by administrator)

Proposed resolution

If account creation requires admini approval then the validation of the account after OTP should at least create a blocked account in the role Authenticated User. This should observe the drupal outgoing email setup for accounts requiring approval.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

User interface

Created by

🇯🇲Jamaica trevorforrest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024