[horde] H5: Making an app's page public but login aware

Michael M Slusarz slusarz at horde.org
Wed Aug 29 18:45:23 UTC 2012


Quoting Ralf Lang <lang at b1-systems.de>:

> The horde is configured to "let an app handle auth" and  the app
> implements authenticate and list.

[snip]

> I set guest permissions for horde and the app itself to READ and SHOW
> but when I navigate the boilerplate app/list.php unauthenticated, it
> transports me to the login page.

Correct.  By default, all pages in that application require authentication.

> However, it works when I set authentication for the client page to none.
>
> $core = Horde_Registry::appInit('dolcore', array('authentication' =>
> 'none'));

Correct.  This specifically overrides the app's default authentication  
requirement.

See, e.g., IMP's attachment.php - it lives in an application that  
requires authentication, but this particular page doesn't require auth  
since it will be accessed by outside users.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list