Needs review
Project:
CCK Field Permissions
Version:
5.x-1.9
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2007 at 17:47 UTC
Updated:
13 Nov 2007 at 15:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
nobody1225 commentedsubscribe. +1 ,thanks.
Comment #2
pbarnett commentedI can confirm that it specifically doesn't work with Views...
Comment #3
Andreas Kohlbecker commentedI implemented a basic views support for CCK Field Permissions module, which at least works with views which are displayed as tables. Sorry, but i had no time for further testing or development. Field access is restricted by unsetting the according field:
I know using unset() has caused problems in the past as discussed in http://drupal.org/node/138984, but i decided to use it anyway for this enhancement, at least for now, since i have not discovered any problems with unset and views yet.
The patch (cck_field_perms-views0.1.patch) provided here includes the views functionality and also a little bugfix for another Issue:
The means to set the #access attribute for fields does not work (at least in my developing environment win xp & php5.2.1 and for sure in the case which is mentioned by http://drupal.org/node/183204):
Comment #4
Andreas Kohlbecker commentedSORRY ! I erroneously posted to the wrong issue here. Since deleting of replies is not possible I replaced it with this message.