The code appears to be missing an implementation of the permission hook. This permission (administer block_edit) is then referenced to allow users to see the settings page. Currently only the super-user can see the settings page:
function block_edit_menu() {
$items = array();
$items['admin/settings/block_edit'] = array(
'title' => 'Block edit',
'description' => 'Settings for the block edit module.',
'page callback' => 'drupal_get_form',
'page arguments' => array('block_edit_admin_settings'),
'access arguments' => array('administer block_edit'),
'file' => 'block_edit.admin.inc',
);
return $items;
}
Comments
Comment #1
philbar commentedThere should also be a hook to prevent anonymous user from using Block Edit.
There is no point in having a "View" link on every item when they are already viewing the content. Not to mention it is a performance issue. Why should anonymous users load Block Edit's css, when they don't use it.
Comment #2
Anonymous (not verified) commentedMarked #718520: Better access as duplicate of this issue.
Comment #3
Anonymous (not verified) commentedLooks like this has been fixed in latest dev version: http://drupal.org/cvs?commit=335148
Re-open if not.
Comment #5
soulfroysMy first patch !!! So difficult man...
Please, have I done right?
Tks!
Comment #6
joelstein commentedHere's a revised version which puts the permissions in a more logical order. Plus, it removes the space in the "administer block edit" permission (that's the usual convention).
Marking as critical, since the admin settings page is unreachable without this permission.
Comment #7
Anonymous (not verified) commentedWorks for me!
Comment #8
aharown07 commentedIs the #6 patch in the dev version yet?
Comment #9
joelstein commentedaharown07: It won't be in dev until the maintainer commits it.
Comment #10
aharown07 commentedOK thx.
I am using the dev version now and it at least allows turning off visibility of the links per role.
Comment #11
joelstein commentedThis was added in #822664: Add "administer block_edit" permission.