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

Remove repositories link for other users in the navigation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Navigation, Repositories
    • Labels:
      None
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      Users cannot view/manage other users repositories anymore so this link will never lead to a page that can be accessed.

      Detail:
      In lib/navigationlib.php generate_user_settings()

      reverse logic of if block:

      // Repository                                                                                                               
              if (!$currentuser && $usercontext->contextlevel == CONTEXT_USER) {    
      

      or remove it entirely (users can get to their own repositories through my profile).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              damyon Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: