Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29182

New Account tool should respect invalidEmailInIdAccountString sakai.property

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 11.0
    • Labels:
      None
    • Property addition/change required:
      Yes

      Description

      The existing sakai.property invalidEmailInIdAccountString defines a list of domain names that are not allowed in guest accounts, which is useful for preventing accidental creation of guest accounts for users (based on email address) that already have an external account (based on user name).

      When the New Account tool has the tool property force-eid-equals-email set to true (introduced in SAK-28184), the tool is essentially doing exactly what the sakai.property descibes, and as such it should respect the property if it's set.

      This introduces a new sakai.property (user.email.invalid.domain.message) to provide a customizable, paramaterized error message which is presented to the user when in the event that they attempt to use an email address with one of the offending domains. This sakai.property can utilize the following two parameters as often as necessary, and in any order. "

      {0}

      " will be replaced with the contents of the sakai.property "ui.institution". "

      {1}

      " will be replaced with the offending email domain string.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code