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.)
Issue Links
| This issue will be resolved by: | ||||
| MDL-9607 | Add Change-own-password and Edit-own-profile capabilities |
|
|
|
should be fixed in cvs, you can now create new 'restricted' role and assign it to users in the system context.