"John P . Looney" wrote:

>  I'm logged into a page, and at the bottom I have;
> 
>  if($midgard->admin) {
>      echo "<A HREF=\"/asgard/page/edit/$midgard->page\">Edit this page</A>";
>  } else {
>      echo "You are not recognised as an admin ($midgard->user) for this page.";
>  }
> 
>  It always says "You are not recognised", even if /asgard says I am logged
> in. If I change the "Authentication:" of a page to "required" instead of
> "inherited", the code detects that I'm logged in, and prints "Edit this
> page".

Is this page 'in' asgard? If not, does one of the parent pages, or the
host
record for the site that is serving this, require auth?

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to