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

Button "Add new learning plan" should not be displayed when permissions are missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      • login with user having permissions to manage plans and go to the learning plan page
      • you should see the button "Add new learning plan"
      • login with user not having permissions to manage plans and go to the learning plan page
      • you should not see the button "Add new learning plan"
      Show
      login with user having permissions to manage plans and go to the learning plan page you should see the button "Add new learning plan" login with user not having permissions to manage plans and go to the learning plan page you should not see the button "Add new learning plan"
    • Affected Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-52235_master
    • Story Points:
      0.5
    • Sprint:
      CBE Sprint 3

      Description

      I found out this small bug in the user list of learning plans (plans.php) :

      • Users with only "tool/lp:planviewown" or "tool/lp:planview", see the "Add new learning plan" button when they should not.

        Attachments

          Activity

            People

            • Assignee:
              taboubii Issam Taboubi
              Reporter:
              gaudreaj Jean-Philippe Gaudreau
              Peer reviewer:
              Frédéric Massart
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: