Closed (duplicate)
Project:
CCK Field Permissions
Version:
5.x-1.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2007 at 09:38 UTC
Updated:
18 Feb 2008 at 23:55 UTC
these 2 clauses below are not enough
$node->$disallowed_field['#access'] = false;
$node->content[$disallowed_field]['#access'] = false;
in function cck_field_perms_nodeapi if a field is in a group.
must have 1 clause like below:
$node->content[$group][$disallowed_field]['#access'] = false;
please print_r($node) for the detail.
Comments
Comment #1
igorzh commentedComment #2
Vidarls commentedduplicate: http://drupal.org/node/121309