I'm using Moodle 2.3 & when I'm logged-on in the Administrator role in a course area, I can view users' brief profiles & by clicking the Full profile button, I can view users' full profiles. However, when I'm logged-on in the Teacher role, in the same course area, although I can still view users' brief profiles, the Full profile button isn't displayed, so I can't view the more detailed information. Any advice about how I can view users' full profiles as a Teacher please?
User profiles – can't view users' full profiles in Moodle 2.3
Re: User profiles – can't view users' full profiles in Moodle 2.3
Hi Russell,
On moodle.org everyone can view full profiles because the capability moodle/user:viewdetails is allowed for the authenticated user role. If you only want teachers to be able to view full profiles, you'd need to assign them a system role for which the capability is allowed.
Re: User profiles – can't view users' full profiles in Moodle 2.3
Hi Russell and Helen
We have this same issue too.
In Users>Permissions>Define role - the Teacher role has the moodle/user:viewdetails capabaility set to allow. As a teacher i still cant view another users Full profile.
Another capability which we think could be related to view a Full profile of another user is listed below, which is already set to Allow as well:
View hidden details of users
moodle/user:viewhiddendetails
Russell did you find a solution to this problem? Or any progress?
Hi Usman,
It's not sufficient to allow the capability moodle/user:viewdetails for the teacher role because users are normally assigned the teacher role at course level.
I've just added instructions on how to enable teachers to view full profiles to the documentation Capabilities/moodle/user:viewdetails. Please shout if anything is unclear.
I cannot get this working.
I want all users (logged in user) to be able to view the "Optional" fields with the contact information, but not the extra profile fileds that we have added (in an added profile category), containing the social security number of each user and that is used only in the grade report.
The only fields I managed to make visible was the extra profile fileds, not the Optional fileds.
I have tested as a editingteacher in a course.
The role permissions
editingtecher is set to default,
- moodle/user:viewdetails - ALLOW
- moodle/user:viewalldetails - NOT SET
moodle/course:viewhiddenuserfields - ALLOW
- moodle/user:viewhiddendetails - ALLOW
viewdetails | viewalldetails | viewhiddenuserfields | viewhiddendetails | Can see Full profile link | Can see optional | Can see extra field |
---|---|---|---|---|---|---|
Not set | Not set | Not set | Not set | No | No | No |
Allow | Allow | Allow | Allow | Yes | No | Yes |
As you can see, Optional fileds never gets visible. The extra fields does, though.
Any tip about what I should do?
Anyone? Should add, I'm using Moodle 3.0.5.
Re: User profiles – can't view users' full profiles in Moodle 2.3
Hi Helen & Usman
Thank-you to both of you for your responses to my initial query – my apologies for not acknowledging this earlier than now.
My initial reason for wanting 'Teachers' to see users' full profiles was to allow them to view a specific piece of information that would uniquely identify the user from others of the same name. After I'd posted my query I found a solution to my particular requirement using a different approach, that meant I didn't need to see a users' full profile after all! So, although a 'Teacher' still can't see a users' full profile on our Moodle, I no longer have a need for a 'Teacher' to be able to do so. That said, thank-you Helen for the solution that you have provided – I've bookmarked it in case a need to use it in the future.
Re: User profiles – can't view users' full profiles in Moodle 2.3
Hi Russell
I'm curious as what different approach do you currently use to view specific details of a user account? Assuming it is some functionality within moodle.
Re: User profiles – can't view users' full profiles in Moodle 2.3
At our school we wanted students to see teacher's full profiles as that is where teachers put info such as office hours, contact details and other things that are of use to students. We also wanted teachers to see last access dates on student profiles.
This was enabled by allowing moodle/user:viewhiddendetails for authenticated users at a system level.
This allows a user to view any hidden user fields (such as description, city/town, country, web page, ICQ number, Skype ID, Yahoo ID, AIM ID, MSN ID and last access) on users' profile pages.