Project:CCK Field Privacy
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

Currently I am displaying latelly added pictures on my site, however if user restricts image field with the use of this module the field is empty in views. It would be excellent to have filter option to not show field if its restricted in sql result.
In such filter it could be possible to determine which field is the restricted one. So for instance if one displays 2 fields (picture+username) then he could add filter which says : hey if picture is restricted do not show me that in result.

Thanks,
Tomasz

Comments

#1

That would probably best be handled with content_permissions. If a field itself is not visible to a user it will not show in views. In order for views to know not to show a field, it has to know ahead of time that every single instance of that field is not viewable by the user. Content Permissions does this.

In the case of CCK Field Privacy, there's still a chance that most instances will be visible, so it only excludes the instances of that field that the user can't see and leaves everything else alone.