Restrict webform component use to certain roles I want to restrict the usage of a custom component only to a specific role.
What's the drupal way of doing that?
I tried https://drupal.org/project/webform_component_roles but this just defines usage permission for all the components not each specific one.
Try Webform Webform Locked Fields module, you can set permission for specific role


  Users who have the "administer webform locked fields" permission will
  see a checkbox titled "Webform creator can modify" when they edit a
  webform component. If that box is unchecked, the component can only be
  modified or deleted by users who have the the "administer webform
  locked fields" permission. Other users who have webform creation
  permission will be taken to a page that says "Not allowed" if they
  attempt to edit or delete that component.