I want to change the field level permissions from a CCK field by PHP in my custom module. Can You give me a hint?
1 Answers
2
votes
Implement hook_field_access().
See http://drupalcode.org/project/cck.git/blob/refs/heads/6.x-3.x:/modules/content_permissions/content_permissions.module for an example.