MDL-59172 user: user_can_view_profile() now checks viewalldetails cap

This commit is contained in:
Jake Dallimore 2017-08-01 14:53:33 +08:00
parent 8146b1f06d
commit 4d068a6708
4 changed files with 12 additions and 3 deletions

View file

@ -41,6 +41,7 @@ information provided here is intended especially for developers.
* New optional parameter 'closeSuggestionsOnSelect' for the enhance() function for form-autocomplete. Setting this to true will
close the suggestions popup immediately after an option has been selected. If not specified, it defaults to true for single-select
elements and false for multiple-select elements.
* user_can_view_profile() now also checks the moodle/user:viewalldetails capability.
=== 3.3.1 ===