Skip to content

create user on inventory #6063

@FuhuXia

Description

@FuhuXia

On Inventory, user account creation is currently performed manually by developers using Cloud Foundry (cf) commands. With the recent addition of the user management UI, account creation can now be handled directly through the UI by admin, along with reactivating previously deleted user accounts, a process that can only be done via CKAN API call or DB query.

User Story

In order to add new account or reactivate deleted account, datagov admin wants the new user management UI offers Add and Reactivate button.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN a username john-smith and a gov email address js@gsa.gov
    WHEN admin goes to /user/user-org-roles
    THEN there is a form to enter username and email address
    AND click the button Add User will see message User john-smith is successfully added]

  • GIVEN deleted account with a gov email address jd@gsa.gov
    WHEN admin goes to /user/user-org-roles
    THEN there is a Reactive button next to the deleted account jane-doe | jd@gsa.gov
    AND click the button Reactive will see message User jane-doe is successfully reactivated]

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

The Add User button should show error message from a failed ckan add user action, mostly due to conflict username or email address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Inventory.data.govInventory playbooks/rolesbugSoftware defect or bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📥 Queue

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions