Hi,
Is there any way I can use Field Permission module for the fields of my content type created by custom module.
If not, how can I get similar functionality ?

Regards,
Nick

Comments

WorldFallz’s picture

Afaik, field_permissions doesn't care if the content type is created by a module or through the UI.

pnick107’s picture

Thanks for your reply.
Actually I meant to ask for content_permissions instead of field_permissions, where I can get field level access. Can't seem to find it in D7

Regards,
Nick.

WorldFallz’s picture

content_permissions was part of cck with d6, it has been replaced by field_permissions for d7.

pnick107’s picture

Thanks,
But it doesn't provide field level access control for the fields I created by module.
Am I missing something?

pnick107’s picture

Using hook_permission to achieve the same as discussed https://drupal.org/node/2100697