Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61946

Centralize mail (user data) visibility calculations

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.5, 3.4.2, 3.5, 3.6
    • Fix Version/s: None
    • Component/s: General, User management
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      With mail visibility fixed/clarified @ MDL-60548 ... the same logic is at very least present in a couple of places within core. That's not good for maintenance.

      This issue is about to centralize that logic in a unique function that will validate that all the pieces of information are provided and return an unified result.

      Just that. Maybe we could use the same approach for other fields too so a bit of wide-thinking is welcome.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: