Skip to content

BRD - Prevent users from creating multiple drafts from same NR (IA magic link) #25005

Closed

Description

@JazzarKarim

Check: bcgov/business-ui#37 (comment)

The idea is, when pressing on the IA creation magic link, we need to prevent multiple creation of drafts from same NR.

If account X presses on the link, that'll affiliate the NR and create a draft.
Now if the same person logs out of account X and logs in account Y then presses the link, another affiliation and draft creation occurs. We need to handle and prevent that.

Need to handle:

  • Check auth db potentially and prevent nr affiliation and draft creation if it already exists

Activity

  1. added
    Entities Team
    connect
    on Dec 18, 2024
  2. changed the title [-]BRD - Check Auth DB to prevent users from creating multiple drafts from same NR[/-] [+]BRD - Prevent users from creating multiple drafts from same NR (magic link)[/+] on Dec 18, 2024
  3. changed the title [-]BRD - Prevent users from creating multiple drafts from same NR (magic link)[/-] [+]BRD - Prevent users from creating multiple drafts from same NR (IA magic link)[/+] on Dec 18, 2024
  4. JazzarKarim commented on Jan 30, 2025

    @JazzarKarim
    CollaboratorAuthor
  5. severinbeauvais commented on Jan 30, 2025

    @severinbeauvais
    Collaborator

    ^^ And that duplicate ticket is an existing scenario...

    Should we allow an item to be affiliated to multiple accounts? In some cases (eg, staff managing a business on behalf of a customer), that is very useful. In other cases (eg, NRs), that can lead to multiple IAs (but only the first one filed will be accepted). To be decided...

  6. JazzarKarim commented on Feb 3, 2025

    @JazzarKarim
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Teamconnect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions