[Rt-commit] rt branch, 4.4/custom-roles-initialdata-doc, created. rt-4.4.1-247-ge6f0864
Jim Brandt
jbrandt at bestpractical.com
Thu Jan 12 10:21:32 EST 2017
The branch, 4.4/custom-roles-initialdata-doc has been created
at e6f0864deda442ebe511b2d1c0d6ed1e57d1b168 (commit)
- Log -----------------------------------------------------------------
commit e6f0864deda442ebe511b2d1c0d6ed1e57d1b168
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu Jan 12 10:21:21 2017 -0500
Add initialdata docs for CustomRoles
diff --git a/docs/initialdata.pod b/docs/initialdata.pod
index 36cd34d..bac4514 100644
--- a/docs/initialdata.pod
+++ b/docs/initialdata.pod
@@ -100,6 +100,17 @@ It also accepts an C<Attributes> key, which is equivalent to pushing its
arrayref of values onto C<@Attributes>, below, with C<Object> set to the
new group.
+=head2 C<@CustomRoles>
+
+ push @CustomRoles, {
+ Name => 'Support Rep',
+ Description => 'Support representative assigned for this ticket',
+ };
+
+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.
+
=head2 C<@Queues>
push @Queues, {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list