How to redirect views of entity types (bean) for user roles? RabbitHole does not provide this functionality for bean blocks and Entity Bundle Redirect does not seem to work. There is a user role which may edit bean blocks but I want to prevent them from viewing the bean block itself, it rather gets included via php/ views on different nodes.

How can you do that?

EDIT

this is the way the bean blocks are printed

&lt;?php
    $bean_left = bean_load(2);
    print render(bean_view($bean_left));
?&gt;
From quick view of RabbitHole I would suspect that it doesnt support blocks. One way to prevent this could be to use hook_block_view_alter and drop the data when comparing the url. Something like

function MYMODULE_block_view_alter(&amp;$data, $block) {
  // Remove the data if some page view, possibly
  // this would also disable the data on bean/123/delete... :/
  // mayby instead dpm($block) with devel for better targeting? 
  if (arg(0)=='bean' &amp;&amp; arg(2) !='edit') {
    unset($data['content']);
    //or redirect
    //drupal_goto('somepage');
  }
}