I have a view of next events on my front page.
Under each event there are links "more","calendar","edit"
Both users *with* and *without* edit permissions see an edit link under each event.
Users without edit permissions will see "no permission" page when they click on that link.

in calendar pages these links are not shown, so i think this is a bug in views module.
flagged this as critical because this is sort of showstopper.
this seems not to be #166608: Edit links do not properly respect access modules in view, the patch shown there does not help, nor does completely disabling link generation in views_node.inc

i am totally lost in code.
any ideas where this edit link may come from or how to debug this?

Comments

ezra-g’s picture

Are you using any contributed access control modules, such as taxonomy access?

merlinofchaos’s picture

Status: Active » Closed (duplicate)

This is likely a dup of http://drupal.org/node/166608

geek-merlin’s picture

Project: Views (for Drupal 7) » Hotkey
Version: 5.x-1.6 » 5.x-2.x-dev
Component: User interface » Code
Status: Closed (duplicate) » Active

Solved this issue for me by disabling hotkey module.
Is this bogus link creation a feature or a bug?
the code indicates that hotkey indeed adds links.

this cost me days of debugging, so i think at least
a warning on the module page would make sense.

smokris’s picture

Assigned: Unassigned » smokris
Status: Active » Fixed

Hi. I'm the new maintainer for hotkey.module.

I've fixed this in 5.x-2.4 by adding a menu access check, when possible.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.