[Rt-commit] rt branch, 4.4/custom-roles-initialdata-doc, created. rt-4.4.1-247-g897523e

Jim Brandt jbrandt at bestpractical.com
Thu Jan 12 12:50:14 EST 2017


The branch, 4.4/custom-roles-initialdata-doc has been created
        at  897523e65c8ecd0f95543e3d0989f7d030a5bcd4 (commit)

- Log -----------------------------------------------------------------
commit 897523e65c8ecd0f95543e3d0989f7d030a5bcd4
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..630f791 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::System-Role',
+    CustomRole  => 'Customer',
+
 =item A group you created
 
     GroupDomain => 'UserDefined',

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


More information about the rt-commit mailing list