[Rt-commit] rt branch, master, updated. rt-4.0.4-387-g5bf99c4
Kevin Falcone
falcone at bestpractical.com
Fri Jan 27 19:34:29 EST 2012
The branch, master has been updated
via 5bf99c4a49a7246905bfa4cdf038c78e1962d962 (commit)
via 92427d64eff0e16e0718e7e00cc22bc80df33668 (commit)
from d0dbb7197cae9266c2e54d82f817bd1e95d1e453 (commit)
Summary of changes:
etc/RT_Config.pm.in | 23 ++++++++++++++++++-----
lib/RT/Interface/Web/Session.pm | 20 +++++++++++++++-----
2 files changed, 33 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 5bf99c4a49a7246905bfa4cdf038c78e1962d962
Merge: d0dbb71 92427d6
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Jan 27 19:29:20 2012 -0500
Merge branch '4.2/session-properties'
Conflicts:
etc/RT_Config.pm.in
diff --cc etc/RT_Config.pm.in
index 6e18f4c,fbb68e6..6bd6db3
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@@ -1812,25 -1694,38 +1812,38 @@@ Unprivileged users with C<{ Privileged
=cut
-Set($OnlySearchActiveTicketsInSimpleSearch, 1);
+Set($AutoCreate, undef);
-=back
+=item C<$WebSessionClass>
- C<$WebSessionClass> is the class you wish to use for managing
- Sessions. It defaults to use your SQL database, but if you are using
- MySQL 3.x and plans to use non-ascii Queue names, uncomment and add
- this line to F<RT_SiteConfig.pm> to prevent session corruption.
-=item C<$UserAutocompleteFields>
++C<$WebSessionClass> is the class you wish to use for managing Sessions.
++On mysql and Pg it defaults to use your database, in other cases
++sessions are stored in files using L<Apache::Session::File>. Other
++installed Apache:Session::* modules can be used to store sessions.
+
-Specifies which fields of L<RT::User> to match against and how to match each
-field when autocompleting users. Valid match methods are LIKE, STARTSWITH,
-ENDSWITH, =, and !=.
++ Set($WebSessionClass, "Apache::Session::File");
+
-Not all User fields are publically accessible and hence won't work for
-autocomplete unless you override their accessibility using a local overlay or a
-plugin. Out of the box the following fields are public: Name, EmailAddress,
-RealName, NickName, and Organization.
++=cut
+
-Default: C<< Set( $UserAutocompleteFields, { EmailAddress => 'STARTSWITH', Name => 'STARTSWITH', RealName => 'LIKE' })] ) >>
++Set($WebSessionClass, undef);
+
-=cut
++=item C<%WebSessionProperties>
+
-Set( $UserAutocompleteFields, {
- EmailAddress => 'STARTSWITH',
- Name => 'STARTSWITH',
- RealName => 'LIKE',
-});
++C<%WebSessionProperties> is the hash to configure class L</$WebSessionClass>
++in case custom class is used. By default it's empty and values are picked
++depending on the class. Make sure that it's empty if you're using DB as session
++backend.
-=item C<$AllowUserAutocompleteForUnprivileged>
+=cut
+
- # Set($WebSessionClass, "Apache::Session::File");
++Set( %WebSessionProperties );
-Should unprivileged users be allowed to autocomplete users. Setting this
-option to a true value means unprivileged users will be able to search all your
-users.
+=item C<$AutoLogoff>
-Default: C<< Set( $AllowUserAutocompleteForUnprivileged, 0 ) >>
+By default, RT's user sessions persist until a user closes his or her
+browser. With the C<$AutoLogoff> option you can setup session lifetime
+in minutes. A user will be logged out if he or she doesn't send any
+requests to RT for the defined time.
=cut
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list