From MoodleDocs
  • This allows a user to change their own password.
  • The capability only applies in the system context i.e. it must be set for a system role, such as authenticated user.
  • The default authenticated user role has this capability set to allow. It is prohibited for the guest role.

Example usage

See also