[dev] How do I force clearing the permissions cache for unauthenticated console users?

Ralf Lang lang at b1-systems.de
Thu Jan 24 23:13:54 UTC 2013


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

I'm writing a console script for importing/exporting horde groups and
permission setups from/to yaml.

I notice that the console cli user does not get updates when a file
cache backend is configured. The Sql cache backend seems to do no harm.

How can I trick the cli into not using the cache ?

I am running as

Horde_Registry::appInit('horde', array(
    'cli' => true,
    'user_admin' => true,
    'test' => true
));

Of course I could copy the Horde_Core_Factory_Perms::create code but
it seems like the wrong approach.

- -- 
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.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEBwDIACgkQCs1dsHJ/X7DQDgCdHofYO9LVvWFGIFWeMdLLNYYX
rSMAoJV9pPcAW1Sm4jk4cFUSQdE39nop
=sJ1z
-----END PGP SIGNATURE-----


More information about the dev mailing list