bcgov / bcgov/zeva2

ZEVA 2 - IDIR Vehicle Suppliers - Add Create New User Functionality to the Users Tab

Open
#577 1 comment 0 reactions 1 assignee Claimed by @dallascrichmond View on GitHub
Medium Task
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Describe the task**
Add the ability to create a new user directly from the Users tab on an individual Vehicle Supplier page.
Currently, new Vehicle Supplier users can only be created through:
Administration - BCEID - Create New User
The same user creation workflow should be accessible from the Users tab of an existing Vehicle Supplier.
When the user selects Create New User from the Vehicle Supplier page, the existing creation flow should be used. The selected Vehicle Supplier organization should be automatically populated based on the supplier page the user is currently viewing.
All other fields, validation rules, permissions, and workflow behavior should remain consistent with the existing Create New User functionality available through Administration.

**Purpose**
Allow analysts and other authorized users to create a user within the context of a specific Vehicle Supplier without navigating through the Administration section.

**Acceptance Criteria**
- [x] A Create New User action is available on the Users tab of an existing Vehicle Supplier.
- [x] Selecting Create New User opens the existing user creation workflow.
- [x] The Vehicle Supplier organization is automatically populated based on the supplier page from which the workflow was opened.
- [x] All other fields remain consistent with the existing [user creation form](https://zeva2-dev.apps.silver.devops.gov.bc.ca/administration/new).
- [x] Existing validation rules and required fields remain unchanged.
- [x] Successfully created users are associated with the selected Vehicle Supplier.
- [x] After successful creation, the new user is visible in the Vehicle Supplier’s Users tab.
- [x] The existing user creation functionality under Administration - BCEID continues to work as it does today

Image

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.