How to filter admin/structure/block per role I use block access to determine which block a role can edit. I enabled Access the block administration page and View all blocks permissions so that my blocks_editor role now  can access the admin/structure/block page. 

But the page displays the complete and huge  list of blocks, with a configure link when allowed to do so, as in screen capture below :



How can I filter/restrict this output to the list of blocks the role has permission to edit ?

Or as an alternative, how can I programmatically generate in a block, the links to blocks a role has access to ?

Thank you.
Checking the code, this popped up:

  // Remove the block completely if it's not allowed to be viewed
  if (!block_access_can_view($module, $delta)) {
    unset($form['blocks'][$key]);


in block_access_check_perms (.module file)

Otherwise it only removes the operations that user doesn't have access to. Now, this function gets called in the form_alter for the block overview page. So, you have two options as far as I can see.

First, restrict the view permission to be the same as edit (these permissions have no effect on the front-end visibility, as per the project page). This is your best bet I believe.

The other option is to alter the form again after this module has already altered it, run your own checks and then unset the blocks with no operations left.