Closed (fixed)
Project:
Block edit
Version:
6.x-1.10
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 May 2010 at 20:30 UTC
Updated:
5 Jun 2010 at 02:50 UTC
The problem with the 'view' link is that most anonymous users on most sites have view permissions and so what happens is that this strange view link shows up for anon users. The simple solution to me is to implement a hook_perm() hook and add a permission so that you can only allow privileged users to see these links.
As it stands right now, it just checks the permissions for what specific task it's looking at (edit/view/etc) and that doesn't quite work for the example I mentioned.
Comments
Comment #1
irakli commentedNot sure what you mean, permissions are already there:
Comment #2
drupalninja99 commentedhey irakli i cant find this, I searched "block_edit_perm" and didnt find it. I'm using version 1.10 and I don't see it
Comment #3
beltofteThe implementation of hook_perm() only exists in the dev version, not in the 6.x-1.10 version of the module.
Comment #4
jgsantos commentedI'm having the same problem (using version 6.x-1.10). Any suggestions ?
Comment #5
dwightaspinwall commented@jgsantos - update to the dev version where you'll get the perms you need