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

Move new user_can_view_profile function to a class to make it more flexible in the future

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:

      Description

      MDL-27177 tidied up the permission checks for user profile and put them into a function for moodle 3.0
      Patching the function go into a class instead so it is more flexible, more functions can be moved/added to the class in the future or migrated to a renderer

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: