Hi Nathan,
Nathan Gray schrieb:
Let me know if it worked, so I can backport it to 1.6.
It’ll take a few weeks, it’s pretty infrequent. Even then it’ll be
hard to be sure, unless you have any tips to test it.
We once had a feature called session preferences. It was meant to allow
demo users to change preferences, which got stored only in the session.
So they start with the prefs an admin set up for them and could
afterwards “play” with the prefs, thought it had no effect on the next
demo user logging in.
I grep’ed for session_only_preferences in the current code and found
only that one reference I corrected with my commit. I can’t recall if
there was any UI, or you have to set the necessary ACL value directly in
the database, eg:
INSERT INTO egw_acl (acl_app,acl_name,acl_owner,acl_value) VALUES
(‘preferences’,‘session_only_preferences’,$account_id,1);
Anyway the error you reported (calling session->save_repositories())
only happend, when that special ACL was set. session::save_repositories
was removed in my rework of session class before 1.6.
Ralf
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller,
Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers