Moodle
  1. Moodle
  2. MDL-29959

Issue with view participants capability permsisions

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide

      Create course, enrol 2 users as students.
      Define roles > Edit student role. View participants > prevent.
      Login as student > Nav block > Participants > student can see other participants

      Reset student role permissions to default.

      In course
      Permissions > override student role permissions. View participants > prevent.
      Login as student > Nav block > Participants > student can see other participants

      Set both role definition and course override student role to view participants > Prevent
      Login as student > Participants > User can only see own details.

      Show
      Create course, enrol 2 users as students. Define roles > Edit student role. View participants > prevent. Login as student > Nav block > Participants > student can see other participants Reset student role permissions to default. In course Permissions > override student role permissions. View participants > prevent. Login as student > Nav block > Participants > student can see other participants Set both role definition and course override student role to view participants > Prevent Login as student > Participants > User can only see own details.
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      The permissions for the view participant capability are not effective unless changed in both the role and in course permissions.

      Only one should be required for this to be effective.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Michael de Raadt added a comment -

            Thanks for reporting this, Ray.

            It's certainly worth having a look at.

            Show
            Michael de Raadt added a comment - Thanks for reporting this, Ray. It's certainly worth having a look at.
            Hide
            Rossiani Wijaya added a comment -

            Hi Ray thank you for reporting this.

            However, I could not reproduce the issue on current 2.1.3 version. Both scenarios above (either prevent it from define role or override student course in course) prevent student from accessing participant page.

            Could you please update your distribution and re-test this issue again? If you still having an issue, please provide more information on how to reproduce this.

            Thanks
            Rosie

            Show
            Rossiani Wijaya added a comment - Hi Ray thank you for reporting this. However, I could not reproduce the issue on current 2.1.3 version. Both scenarios above (either prevent it from define role or override student course in course) prevent student from accessing participant page. Could you please update your distribution and re-test this issue again? If you still having an issue, please provide more information on how to reproduce this. Thanks Rosie
            Hide
            Ray Lawrence added a comment -

            OK, will test soon and report back

            Show
            Ray Lawrence added a comment - OK, will test soon and report back
            Hide
            Rossiani Wijaya added a comment -

            Hi Ray,

            Did you have a chance to re-test this issue?

            Show
            Rossiani Wijaya added a comment - Hi Ray, Did you have a chance to re-test this issue?
            Hide
            Ray Lawrence added a comment -

            Not yet

            Show
            Ray Lawrence added a comment - Not yet
            Hide
            Rossiani Wijaya added a comment -

            Hi Ray,

            I asked Ankit to test this issue and unable to reproduce this.

            I'm closing this issue as 'cannot reproduce'.

            Show
            Rossiani Wijaya added a comment - Hi Ray, I asked Ankit to test this issue and unable to reproduce this. I'm closing this issue as 'cannot reproduce'.
            Hide
            Rossiani Wijaya added a comment -

            Re-open to fixed resolution message.

            Show
            Rossiani Wijaya added a comment - Re-open to fixed resolution message.
            Hide
            Rossiani Wijaya added a comment -

            closed

            Show
            Rossiani Wijaya added a comment - closed

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: