You are here

function user_farm_access_perms in farmOS 7

Implements hook_farm_access_perms().

File

modules/farm/farm_access/farm_access.farm_access.inc, line 102
Farm access hooks implemented by farm access module.

Code

function user_farm_access_perms($role) {
  $perms = array();

  // Allow all roles to view user profiles.
  $perms[] = 'access user profiles';
  return $perms;
}