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

Hide not available options in user profile and my courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Courses, Users
    • Labels:
    • Testing Instructions:
      Hide
      1. Check that as a student you cannot see the "Add note", "View grades" and "View course completion" in another user profile. Check that you can see them as a teacher.
      2. Check that as a student you can't see the "Notes" button in courses list. Check that you can see it as a teacher.
      3. Check that as a teacher you can't see the "Course completion" option in courses list. Check that you can see it as a student.
      Show
      Check that as a student you cannot see the "Add note", "View grades" and "View course completion" in another user profile. Check that you can see them as a teacher. Check that as a student you can't see the "Notes" button in courses list. Check that you can see it as a teacher. Check that as a teacher you can't see the "Course completion" option in courses list. Check that you can see it as a student.
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE

      Description

      Right now we show some options that aren't available for the user. Once they click the button, an error message is shown.

      The only way to detect if it's available or not is to "prefetch" the WS call.

        Attachments

          Activity

            People

            • Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Apr/16