Hello,

some trouble here with permissions.

First I was not able to access to a lot of pages, so I rebuilt permissions (admin/content/node-settings). I thought it solved the problem, but I still cannot access some pages (as "root", i.e. user id = 1) like admin/build/themes/settings/[theme_name]. I clear cache, delete cookies etc in the browser, but I cannot access that pages. I don't why. And I don't know if there are other pages involved.

Thanks in advance,
aded

Comments

Anonymous’s picture

Other issue with Drupal core permissions: I cannot use taxonomy module form, even if I'm superuser.
There is a row for "taxonomy module form" in admin/content/node-type/*/fields, but nothing appears when I try to add a node.

Bye,
aded

Anonymous’s picture

I rectify, the issue is only for admin/build/themes/settings/* pages.

Best regards,
aded

hefox’s picture

http://api.drupal.org/api/function/system_menu/6 defines that menu item.

the function that checks access to the menu items

function _system_themes_access($theme) {
  return user_access('administer site configuration') && ($theme->status || $theme->name == variable_get('admin_theme', '0'));
}

Does your theme have the status = 1, ie is the enabled box? I had the same issue, turns out while it was set to default the enabled box hadn't been checked.

vegemite4me’s picture

I am also having this problem, using a Zen 6.x-1.0 subtheme. I am logged in as the superuser (uid = 1). Why is the super user encountering permission errors?

When I go to the Themes page (/admin/build/themes) I cannot see the usual 'Configure' links next to each enabled theme.

vegemite4me’s picture

hefox is right. I noticed that NONE of my themes were enabled. This is odd because I would expect at least the current theme to be enabled. I upgraded a few standard modules (devel, views, captcha, etc) today, and maybe one of them removed the enabled settings?

Anyway, I set my current theme (a Zen subtheme) to enabled (even though it was the default theme?) and can now configure the theme at /admin/build/themes/settings/[theme_name] as expected.

hefox’s picture

Title: Permission denied for admin/build/themes/settings/[theme_name] » Default theme doesn't need to be enabled

I believe the bug here is that the default theme does not need to be enabled, which is causing this sympton. Or, the access needs to check if theme is enabled OR default. Renamed to reflect that.

Hmm as far as issues goes there's #477800: No themes enabled upon install, but it hasn't been back ported to d6 I believe and isn't quite it.

It's still in 6.14, right?

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.