Add option to configure number of accounts per role

Created on 22 June 2020, over 4 years ago
Updated 26 August 2023, over 1 year ago

Problem/Motivation

QA teams, like ours, may need multiple accounts per role to enable multiple QA team members to test/validate work that leverage the same user role (and projects may also use Session Limit module β†’ ).

Proposed resolution

A few ideas

  • Provide a option to configure number of accounts per role.
  • Implement hooks/event dispatching to allow custom modules to override behavior.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hey,

    Here is the patch.

    In the patch, I have added a number field on the config form to configure the number of QA accounts. By default, it has the value of 1. I have also added validation of the QA accounts should not be more than 10 as I guess that will be enough.

    Each QA account for example will be uniquely identified as qa_administrator_1. The numerical suffix denotes the count of users per role.

    I have also added an update hook to change the existing username to a new username.

Production build 0.71.5 2024