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

mkdi’s picture

Not 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.

pobster’s picture

It'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

pobster’s picture

Status: Active » Closed (won't fix)

Oh and the reason Drupal superuser can see the admin screen is because superuser is never restricted by access/ permission rules.

Pobster

pobster’s picture

Status: Closed (won't fix) » Closed (fixed)
amariotti’s picture

Thanks 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!