Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3055

Plugin init "restrict" is not updated if new courses are added

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Remote addons
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      Plugins can return a "restrict" array from their init function containing a list of courses on which they should display.  This is only run when the app launches.  If a user is enrolled on a new course after the app has loaded, they can pull to refresh on the dashboard page to see and access the new course. However, the plugin init functions are not re-run, so even if a restricted plugin should show on this new course, it won't.  The only way to enable it is to restart the app, but there is nothing to tell the user to do this, so they will be missing content without knowing.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: