[Rt-commit] rt branch 4.4/fix-custom-role-initialdata-docs created. rt-4.4.6-38-gdbd60151d7

BPS Git Server git at git.bestpractical.com
Tue Sep 6 20:49:30 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 4.4/fix-custom-role-initialdata-docs has been created
        at  dbd60151d708467ac7d35ad163738ccf05f65667 (commit)

- Log -----------------------------------------------------------------
commit dbd60151d708467ac7d35ad163738ccf05f65667
Author: Jason Crome <jcrome at bestpractical.com>
Date:   Tue Sep 6 16:31:49 2022 -0400

    Custom Roles cannot apply globally; correct docs

diff --git a/docs/initialdata.pod b/docs/initialdata.pod
index f862fde79c..8b87055d4d 100644
--- a/docs/initialdata.pod
+++ b/docs/initialdata.pod
@@ -105,11 +105,13 @@ new group.
     push @CustomRoles, {
         Name        => 'Support Rep',
         Description => 'Support representative assigned for this ticket',
+        ApplyTo     => 'General',
     };
 
-Creates a new L<RT::CustomRole> for each hashref. The above example will
-create the role globally. To apply the role to only a specific queue,
-use the C<ApplyTo> entry as described in L</@CustomFields> below.
+Creates a new L<RT::CustomRole> for each hashref. Custom roles B<must>
+be applied per queue; they cannot be applied globally. See the
+C<ApplyTo> entry as described in L</@CustomFields> below for more
+information.
 
 =head2 C<@Queues>
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list