permission problems

muschpusch - September 18, 2009 - 10:15
Project:OG Menu
Version:6.x-1.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hey,

i'm using the drupal-6 version of og_menu and i have some permission problems. When adding administer og_menu to a specific role it's not working. The menu tab doesn't show up at all. I had to add it to the authenticated user role that worked behalve that all menu's wherer showing up. So i modified:

og_menu.admin.inc

  11   // list only group menus for which member has access...
  12   if (user_access('administer group menu')) {

This is a little quick & dirty but what i have i done wrong?

regards Volkan

#1

jide - September 23, 2009 - 01:20

Also add the "administer menu" permission to the role.

#2

muschpusch - September 29, 2009 - 09:10

Hey Jide,

when letting the users "adminster menu's" the whole idea of administering only the own organic group menu is away because on node editing all menu's are shown. Or do i have something wrong?

regards Volkan

#3

jide - October 25, 2009 - 01:55

muschpusch,

It's a long time now, but if I remember well, the way the module is implemented just filters the menu field so you HAVE to give the permission. I agree that this is not the good implementation, IMHO the whole module is badly coded.

I hope maintainers see this issue : #284960

#4

muschpusch - October 27, 2009 - 14:59

Hey Jide, do you know an alternative module?

#5

muschpusch - October 27, 2009 - 17:50

Ok... i tried to fix some stuff but it would be nice if you could help me out a little... #616110: debugging og_menu to work properly in Drupal 6

 
 

Drupal is a registered trademark of Dries Buytaert.