When using the field_permissions module to control access to a field by role, radioactivity fields do not get the permissions options on the field settings form like other fields do.

I would like only certain roles to be able to edit, view and emit energy per field, what is the best way to do this>

thanks.

Comments

bropp’s picture

Just ran into this issue as well. Would like to control which roles can edit the radioactivity field on a content type.

PhilY’s picture

I would like only certain roles to be able to edit, view and emit energy per field

  • edit: can already be set using permissions
  • view: may need a custom THEME_preprocess_node hook to prevent the field from being displayed depending on user's role and current view mode (can also be hidden in the .tpl.php file or using CSS if user's role is output as a class in page code)
  • emit: can be fully managed using Rules (emitter then needs to be removed from content view mode)