Active
Project:
Zina
Version:
6.x-1.22
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2011 at 19:17 UTC
Updated:
5 Feb 2011 at 21:13 UTC
The module creates a menu item titled "Music" that appears on the Navigation menu for anonymous users regardless of whether anonymous users have permission to access the zina module.
Comments
Comment #1
jsquyres commented+1. It would be great if this could be fixed!
I have Drupal 6.20 with Zina module version 6.x-1.22, Zina version 2.0b22.
Comment #2
jsquyres commentedBTW, I note the following in zina.module:zina_menu():
Should the access arguments actually be "array('access zina')"?
(this doesn't fix the main issue; if you create a Drupal menu item to "music", it still shows up even if the anonymous user has had "access zina" permission unchecked in the administration area -- but I thought I'd ask this question anyway...)
Comment #3
charos commentedWhy don't you try Menu per role module
Comment #4
jsquyres commentedDoesn't Drupal automatically not show menu items for nodes that you don't have access to?
If so, I'm not sure why the Zina module is showing the "Music" menu item to users who do not have access to the zina module.