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

Ability to prevent users changing their password has vanished

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Hi - the $CFG->restrictusers feature was removed from Moodle because the roles system was supposed to cover this. However it doesn't: there seems to be no way to prevent a user changing their password.

      I'm filing this as a bug rather than a feature request because there may well be sites who were using the $CFG->restrictusers feature to provide "demo" accounts (like moodle.org used to do), and who are presumably now unable to do this. A site that I'm working on needs to have a certain class of user unable to edit their password or other details, for example.

      I'd guess that there should be a capability for can-edit-own-password, default on.

      (Removing of $CFG->restrictusers was a tracker item but I can't seem to find it, sorry.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              danstowell Dan Stowell
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08