Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Capabilities/moodle/user:viewdetails.

Capabilities/moodle/user:viewdetails: Difference between revisions

From MoodleDocs
(Enabling teachers to view full profiles (as asked for in https://moodle.org/mod/forum/discuss.php?d=211125))
Line 16: Line 16:
*[[Parent role]]
*[[Parent role]]
*On moodle.org, this capability is allowed for the authenticated user role so that logged-in users can view the profiles of users participating in front page activities such as the [http://moodle.org/mod/data/view.php?id=7232 Moodle Jobs database].
*On moodle.org, this capability is allowed for the authenticated user role so that logged-in users can view the profiles of users participating in front page activities such as the [http://moodle.org/mod/data/view.php?id=7232 Moodle Jobs database].
==Enabling teachers to view full profiles==
# As an administrator, go to ''Settings > Site administration > Users > Permissions > Define roles'' and click the 'Add a new role' button
# Give the role a name, such as 'Full profile viewer' and tick System as the context type where the role may be assigned
# Copy and paste ''moodle/user:viewdetails'' into the filter box then tick the box to allow the capability
# Click the 'Create this role' button
# Go to ''Settings > Site administration > Users > Permissions > Assign system roles'' and click 'Full profile viewer'
# Assign teachers the role of 'Full profile viewer' by selecting them in the list of potential users and then adding them as existing users


==See also==
==See also==

Revision as of 15:13, 10 January 2013

  • This allows a user to view another user's profile page
  • If the capability is applied at the course level, for example a user is enrolled in a course as a student or teacher, then the user can view other users' course profile pages
  • If the capability is applied at the system level, for example a user has the system role of manager, then the user can view full profile pages
  • This capability is allowed for all default roles except the authenticated user role
Course profile
Full profile

Example usage

  • Parent role
  • On moodle.org, this capability is allowed for the authenticated user role so that logged-in users can view the profiles of users participating in front page activities such as the Moodle Jobs database.

Enabling teachers to view full profiles

  1. As an administrator, go to Settings > Site administration > Users > Permissions > Define roles and click the 'Add a new role' button
  2. Give the role a name, such as 'Full profile viewer' and tick System as the context type where the role may be assigned
  3. Copy and paste moodle/user:viewdetails into the filter box then tick the box to allow the capability
  4. Click the 'Create this role' button
  5. Go to Settings > Site administration > Users > Permissions > Assign system roles and click 'Full profile viewer'
  6. Assign teachers the role of 'Full profile viewer' by selecting them in the list of potential users and then adding them as existing users

See also