[Rt-commit] rt branch 4.4-trunk updated: Document $UserAutocreateDefaultsOnLogin only once

Jim Brandt jbrandt at bestpractical.com
Wed Jun 30 12:02:08 EDT 2021


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 4.4-trunk
in repository rt.

The following commit(s) were added to refs/heads/4.4-trunk by this push:
     new ae4fb093bc Document $UserAutocreateDefaultsOnLogin only once
ae4fb093bc is described below

commit ae4fb093bccbaf06edbf18a9e1358f8b307e9332
Author: Jim Brandt <jbrandt at bestpractical.com>
AuthorDate: Wed Jun 30 12:01:38 2021 -0400

    Document $UserAutocreateDefaultsOnLogin only once
---
 etc/RT_Config.pm.in | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 14fb330658..97afc855d5 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2644,9 +2644,20 @@ Set($WebRemoteUserAutocreate, undef);
 =item C<$UserAutocreateDefaultsOnLogin>
 
 If C<$WebRemoteUserAutocreate> is set to 1, C<$UserAutocreateDefaultsOnLogin>
-will be passed to L<RT::User/Create>.  Use it to set defaults, such as
-creating unprivileged users with C<<{ Privileged => 0 }>>.  This must be
-a hashref.
+will be passed to L<RT::User/Create> when the user is created.
+Use it to set default settings for the new user account, such
+as creating users as unprivileged with:
+
+    Set($UserAutocreateDefaultsOnLogin, { Privileged => 0 });
+
+or privileged:
+
+    Set($UserAutocreateDefaultsOnLogin, { Privileged => 1 });
+
+The settings must be in a hashref as shown.
+
+This option is also used if you have External Auth configured.
+See L</External Authentication and Authorization> for details.
 
 =cut
 
@@ -2743,6 +2754,9 @@ LDAP or Active Directory for authentication (login) and authorization
 settings for the service are listed here. Additional details are available
 in the L<RT::Authen::ExternalAuth> module documentation.
 
+See also L</$UserAutocreateDefaultsOnLogin> for configuring
+defaults for autocreated users.
+
 =over 4
 
 =item C<$ExternalSettings>
@@ -2769,13 +2783,6 @@ Sets the order of resources for querying user information if you have multiple
 configured. RT will query each resource, in order, until one succeeds or
 no more remain. See L<RT::Authen::ExternalAuth> for details.
 
-=item C<$UserAutocreateDefaultsOnLogin>
-
-A hashref of options to set for users who are autocreated on login via
-ExternalAuth. For example, you can automatically make "Privileged" users
-who were authenticated and created from LDAP or Active Directory.
-See L<RT::Authen::ExternalAuth> for details.
-
 =item C<$AutoCreateNonExternalUsers>
 
 Users should still be autocreated by RT as internal users if they

-- 
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.


More information about the rt-commit mailing list