Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3123

Add company setting to make contact email addresses unique

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      Create a new setting that will enforce unique contact email addresses.

      1. Create a new page, "General" under Settings > Company > Client Options
        • This will be the first, default page for that subsection
        • Add permissions for this page
      2. Create a new setting, "Enforce Unique Contact Email Addresses" with options:
        • "-- None --", a blank value, that represents the current behavior, i.e., no enforcement of unique email addresses
        • "Primary Contacts", the value "primary", that enforces unique email addresses amongst all primary contacts for the company
        • "All Contacts", the value "all", that enforces unique email addresses amongst all contacts (e.g. primary, billing, other) for the company
        • A tooltip for this setting may also be useful, detailing this behavior succinctly
      3. Update the documentation to include this setting on the company settings page
      4. When adding or updating a contact (i.e. Contacts::add, Contacts::edit), perform a rule validation on the email that checks the value of the setting and performs a unique check on matching contacts such that the given email address is not used by any other contact (besides the current contact on edit).

        Issue Links

          Activity

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Summary Add company setting to make contact email addresses unique Add company setting to make contact email addresses unique2
          tyson Tyson Phillips (Inactive) made changes -
          Summary Add company setting to make contact email addresses unique2 Add company setting to make contact email addresses unique
          tyson Tyson Phillips (Inactive) made changes -
          Story Points 2
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.6.0 Sprint 7 [ 85 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Description Create a new setting that will enforce unique contact email addresses.

          # Create a new page, "General" under Settings > Company > Client Options
          #* This will be the first, default page for that subsection
          #* Add permissions for this page
          # Create a new setting, "Enforce Unique Contact Email Addresses" with options:
          #* "-- None --", a blank value, that represents the current behavior, i.e., no enforcement of unique email addresses
          #* "Primary Contacts", the value "primary", that enforces unique email addresses amongst all primary contacts for the company
          #* "All Contacts", the value "all", that enforces unique email addresses amongst all contacts (e.g. primary, billing, other) for the company
          # When adding or updating a contact (i.e. Contacts::add, Contacts::edit), perform a rule validation on the email that checks the value of the setting and performs a unique check on matching contacts such that the given email address is not used by any other contact (besides the current contact on edit).
          Create a new setting that will enforce unique contact email addresses.

          # Create a new page, "General" under Settings > Company > Client Options
          #* This will be the first, default page for that subsection
          #* Add permissions for this page
          # Create a new setting, "Enforce Unique Contact Email Addresses" with options:
          #* "-- None --", a blank value, that represents the current behavior, i.e., no enforcement of unique email addresses
          #* "Primary Contacts", the value "primary", that enforces unique email addresses amongst all primary contacts for the company
          #* "All Contacts", the value "all", that enforces unique email addresses amongst all contacts (e.g. primary, billing, other) for the company
          # Update the documentation to include this setting on the company settings page
          # When adding or updating a contact (i.e. Contacts::add, Contacts::edit), perform a rule validation on the email that checks the value of the setting and performs a unique check on matching contacts such that the given email address is not used by any other contact (besides the current contact on edit).
          tyson Tyson Phillips (Inactive) made changes -
          Description Create a new setting that will enforce unique contact email addresses.

          # Create a new page, "General" under Settings > Company > Client Options
          #* This will be the first, default page for that subsection
          #* Add permissions for this page
          # Create a new setting, "Enforce Unique Contact Email Addresses" with options:
          #* "-- None --", a blank value, that represents the current behavior, i.e., no enforcement of unique email addresses
          #* "Primary Contacts", the value "primary", that enforces unique email addresses amongst all primary contacts for the company
          #* "All Contacts", the value "all", that enforces unique email addresses amongst all contacts (e.g. primary, billing, other) for the company
          # Update the documentation to include this setting on the company settings page
          # When adding or updating a contact (i.e. Contacts::add, Contacts::edit), perform a rule validation on the email that checks the value of the setting and performs a unique check on matching contacts such that the given email address is not used by any other contact (besides the current contact on edit).
          Create a new setting that will enforce unique contact email addresses.

          # Create a new page, "General" under Settings > Company > Client Options
          #* This will be the first, default page for that subsection
          #* Add permissions for this page
          # Create a new setting, "Enforce Unique Contact Email Addresses" with options:
          #* "-- None --", a blank value, that represents the current behavior, i.e., no enforcement of unique email addresses
          #* "Primary Contacts", the value "primary", that enforces unique email addresses amongst all primary contacts for the company
          #* "All Contacts", the value "all", that enforces unique email addresses amongst all contacts (e.g. primary, billing, other) for the company
          #* A tooltip for this setting may also be useful, detailing this behavior succinctly
          # Update the documentation to include this setting on the company settings page
          # When adding or updating a contact (i.e. Contacts::add, Contacts::edit), perform a rule validation on the email that checks the value of the setting and performs a unique check on matching contacts such that the given email address is not used by any other contact (besides the current contact on edit).
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          jonathan Jonathan Reissmueller made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 3 hours, 43 minutes [ 13380 ]
          Worklog Id 12222 [ 12222 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #666 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 3 hours, 43 minutes [ 13380 ] 4 hours, 43 minutes [ 16980 ]
          Worklog Id 12254 [ 12254 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 4 hours, 43 minutes [ 16980 ] 5 hours, 27 minutes [ 19620 ]
          Worklog Id 12255 [ 12255 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #666 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue Testing discovered CORE-3161 [ CORE-3161 ]

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/May/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 27 minutes
                5h 27m

                  Agile