Environment edit link not using relative location

deekayen - November 3, 2009 - 01:47
Project:Project Issue File Review
Version:6.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:boombatower
Status:won't fix
Description

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.

#1

boombatower - November 3, 2009 - 16:32
Assigned to:Anonymous» 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.

<?php
$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.

#2

deekayen - November 3, 2009 - 16:40
Category:support request» bug report

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.

#3

boombatower - November 3, 2009 - 16:45

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.

#4

deekayen - November 3, 2009 - 16:48
Title:Access denied to edit environment» Environment edit link not using relative location

#5

boombatower - November 18, 2009 - 02:15
Status:active» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.