Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
Description
The field 'address' doesn't appear in the list of the potential hidden fields (setting 'hiddenuserfields'). Why?
However it is usually the main personal information to hide from other non-authorized users (other than course teachers/admins) for increasing student privacy.
Here is a obvious patch, tested with 1.8.2:
— MOODLE_0709/admin/settings/users.php 2007-03-28 18:57:05.000000000 +0200
+++ MOODLE_0706/admin/settings/users.php 2007-10-31 11:01:54.000000000 +0100
@@ -82,6 +82,7 @@
get_string('confighiddenuserfields', 'admin'), array(),
array('none' => get_string('none'),
'description' => get_string('description'),
+ 'address' => get_string('address'),
'city' => get_string('city'),
'country' => get_string('country'),
'webpage' => get_string('webpage'),
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-17219 | Privacy improvements project ideas for 2.0 |
|
|
|
ah, the reason is that the address and phone numbers are hidden always:
if (has_capability('moodle/user:viewhiddendetails', $coursecontext)) {
if ($user->address) { print_row(get_string("address").":", "$user->address"); }
if ($user->phone1) { print_row(get_string("phone").":", "$user->phone1"); }
if ($user->phone2) { print_row(get_string("phone2").":", "$user->phone2"); }
}
I think this could be made configurable in 2.0