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

site level capability is over-riding course level capabilities in selecting repositories (file picker) with javascript disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 3.4, 3.5
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      Site level capability appears to be (is) overriding the course level capability for selecting repositories with javascript disabled - we wish to control access to managers only for particular repositories at course level, but 'user' role at system level overrides this when javascript is disabled.

      To test
      i.e.
      Edit - switch off 'Use URL downloader in file picker' ('repository/url:view') and 'Use uploading in file picker' ('repository/upload:view') in Editing role for 'Authenticated user' at System level
      Change the role to 'manager in a course for 'repository/url:view' and 'repository/upload:view' at course level.
      Log in as a manager for that course (no other role except 'manager' for that course)
      Enable javascript, Test add 'File' resource which will show the URL downloader and the Upload file links on the left of Flie Picker
      Disable javascript, Test add 'File' resource, choose Add and the URL downloader and the Upload file links within the box are not shown.

        Attachments

          Activity

            People

            Assignee:
            moodle.com moodle.com
            Reporter:
            alanfez Alan Peter Carter
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: