This module provides permissions to view user profiles depending on what
roles the profile requested to be viewed
has.

A companion module provides access to edit user profiles instead: https://www.drupal.org/project/edit_profiles_perms

Instructions:

Simply enable the module as usual, and go to admin/user/permissions to
configure the permissions under the view_profiles_perms section
Note that core's 'access user profiles' permission still applies,
and will override any permission not set by this module.

Use case example:

If you want all users to only be able to access profiles of users with
the role 'blogger', uncheck 'access user profiles' and check
'access blogger profiles' for anonymous and authenticated users.

If you then want a specific role to access any role's profiles, assign the core 'access user profiles' to that role only.

Buy the author a coffee to keep him motivated.

Port to Drupal 7 by pcambra.

Project information

Releases