You are here

function content_views_access_callback in Content Construction Kit (CCK) 6

The default field access callback. Remove inaccessible fields from Views.

See also

content_views_field_views_data().

1 string reference to 'content_views_access_callback'
content_views_field_views_data in includes/content.views.inc

File

modules/content_permissions/content_permissions.module, line 46

Code

function content_views_access_callback($field) {
  return user_access('view ' . $field['field_name']);
}