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

Ralf Lang lang at b1-systems.de
Wed Aug 29 18:18:08 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

just want to check back if this is correct:

Guest permissions are not required to view pages with 'authentication'
=> 'none' AND

Guest permissions cannot achieve public display of a page which starts
with a normal, parameter-less appInit('app')

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


Details:

https://github.com/ralflang/dolcore

I in herited some 2000's style php/html mess and began the stub of a
H5 application which refactors essential parts of it. The app provides
a community which offers some pages open to the general public.

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.

However, it works when I set authentication for the client page to none.

$core = Horde_Registry::appInit('dolcore', array('authentication' =>
'none'));


- -- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlA+XN8ACgkQCs1dsHJ/X7BtnQCghy/Kg2ZIeuax4sDDIy5vs7o5
YrUAn0Tv30LSKpoOphsduXwP7D+YqKD5
=XBnG
-----END PGP SIGNATURE-----


More information about the horde mailing list