Closed (fixed)
Project:
Table Manager
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2009 at 02:50 UTC
Updated:
26 Jun 2009 at 19:22 UTC
Why is it that the Administration / TableManager option is only visible to the site super user and not to a user with a SiteAdministrator role which has all permissions for the tablemanager module?
Comments
Comment #1
mkdi commentedNot very sure but i guess that would be because of uid=1 which is associated with the drupal super user, while SiteAdministrator role doesn't have a uid of 1.
Comment #2
pobster commentedIt's because of an issue with Drupal core and placing links on the node/add screen which aren't actually there to create nodes. I've posted a bug to Drupal core but don't hold your breath about them actually doing anything about it. The problem is with a check to hook_access. I do have a hacky workaround but I'm not comfortable with releasing it (what with it being hacky...) I'd rather a sensible solution... But... As I never intended this release to be even alpha let alone beta I'd rather release a version of Tablemanager which actually creates nodes for each table and do things properly.
Pobster
Comment #3
pobster commentedOh and the reason Drupal superuser can see the admin screen is because superuser is never restricted by access/ permission rules.
Pobster
Comment #4
pobster commentedComment #5
amariotti commentedThanks for the update Pobster. What a frustrating issue! In a collaborative environment this makes Table Manager kind of useless. I know it's not your fault, so don't take it like that.
Do you have a time frame for when a real release will be available? I know that you're doing this on your own free time, so I'm not trying to be pushy—just curious as to if there's something coming soon or not. Thanks!