I get 403 access denied on http://testing.drupal.org/admin/pifr/environment/edit/1. I have the admin role, which has all permissions except book page deletion.

Comments

boombatower’s picture

Assigned: Unassigned » boombatower

I assume you meant: http://testing.drupal.org/pifr-2.x/admin/pifr/environment/edit/1.

Works for me, but I am user 1 on that site. Menu hooks seems correct, the permission matches up and everything.

$items['admin/pifr/environment/edit/%'] = array(
  'title' => 'Environment',
  'page callback' => 'drupal_get_form',
  'page arguments' => array('pifr_server_environment_form', 4),
  'access arguments' => array('pifr manage environments'),
  'file' => 'pifr_server.environment.inc',
  'type' => MENU_CALLBACK,
);

Looks like it will require some further investigation.

deekayen’s picture

Category: support » bug

Yep, not an access issue. I can get to your corrected link. It's the edit link for the environment on http://testing.drupal.org/pifr-2.x/admin/pifr/environment - it is coded to the root of the domain instead of relative to the install.

boombatower’s picture

Hmm...I create those in a view, not sure what else to do as they need the beginning / or they will be relative to whole path.

deekayen’s picture

Title: Access denied to edit environment » Environment edit link not using relative location
boombatower’s picture

Status: Active » Closed (won't fix)

Unless we have an easy way to fix this in a view, I vote we leave it alone since pifr runs on a root domain normally.