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

When a user resets their own webservice token, they cannot view it

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Edit Authenticated user role
        • Allow moodle/webservice:createtoken
        • Allow webservice/rest:use
      3. Create a test user
      4. Enable and configure webservices:
        • Enable web services
        • Enable JSON protocol
        • Enable Moodle mobile web service
      5. Log out
      6. Log in as user
      7. Navigate to Preferences > Security keys from profile menu
      8. Press Reset next in the Moodle mobile web service row
      9. Perss Reset in the subsequent confirmation step
      10. Confirm you see the message: "Copy the token now. It won't be shown again once you leave this page." along with details of the created token
      Show
      Log in as admin Edit Authenticated user role Allow moodle/webservice:createtoken Allow webservice/rest:use Create a test user Enable and configure webservices: Enable web services Enable JSON protocol Enable Moodle mobile web service Log out Log in as user Navigate to Preferences > Security keys from profile menu Press Reset next in the Moodle mobile web service row Perss Reset in the subsequent confirmation step Confirm you see the message: "Copy the token now. It won't be shown again once you leave this page." along with details of the created token
    • 1
    • Team Hedgehog 2023 Sprint 2.3

    Description

      This is a regression from MDL-76656, found while looking at MDL-78503

      When a user views their webservice tokens, and presses the "Reset" operation, they just see the message "The selected token was reset " - the actual token content is impossible to view

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Meirza Meirza
              Andrew Lyons Andrew Lyons
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 56 minutes
                  56m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.