[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.1-252-gb7de74d

Shawn Moore shawn at bestpractical.com
Fri Jan 13 13:31:32 EST 2017


The branch, 4.4-trunk has been updated
       via  b7de74df50138c750618e90101ecffd02ae68892 (commit)
       via  d822f4ff3dfcb140ac0566ed12399e7feb9634de (commit)
      from  8ffdd00b6eea3d7e20a05b040193240115878864 (commit)

Summary of changes:
 docs/initialdata.pod | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

- Log -----------------------------------------------------------------
commit d822f4ff3dfcb140ac0566ed12399e7feb9634de
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..f862fde 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, {
@@ -340,6 +351,17 @@ user defined group, or user you want to grant the right B<to>.
       Queue     => 'Name',
       GroupType => 'Requestor, Owner, AdminCc, or Cc',
 
+=item A system-level custom role
+
+    GroupDomain => 'RT::System-Role',
+    CustomRole  => 'Supervisor',
+
+=item A queue-level custom role
+
+    Queue       => 'Customer Support',
+    GroupDomain => 'RT::Queue-Role',
+    CustomRole  => 'Customer',
+
 =item A group you created
 
     GroupDomain => 'UserDefined',

commit b7de74df50138c750618e90101ecffd02ae68892
Merge: 8ffdd00 d822f4f
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Fri Jan 13 18:31:26 2017 +0000

    Merge branch '4.4/custom-roles-initialdata-doc' into 4.4-trunk


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


More information about the rt-commit mailing list