[Rt-commit] [rtir] 03/14: Add pseudocode for the new create_constituency script

Jesse Vincent jesse at bestpractical.com
Wed Feb 18 20:55:03 EST 2015


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

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit 1fb87a4b5dad116eb93b9c9005e78493a7eb41ff
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 18 14:57:36 2015 -0800

    Add pseudocode for the new create_constituency script
---
 bin/create_constituency | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/bin/create_constituency b/bin/create_constituency
new file mode 100644
index 0000000..61abf55
--- /dev/null
+++ b/bin/create_constituency
@@ -0,0 +1,20 @@
+# TODO: rename me to add_constituency and make my arg parsing match the old tool
+#
+# If there is no global queue custom field called RTIR_Constituency, create one
+# add the constituency name to as a value for that field
+#
+# Create four queues
+#   $CONSTITUENCY Investigations
+#   $CONSTITUENCY Reports
+#   $CONSTITUENCY Incidents
+#   $CONSTITUENCY Countermeasures 
+#   
+#       For each of those queues
+#           set its RTIR constituency to $CONSTITUENCY
+#           apply the RTIR scrips for its kind of queue to it
+#           Create a dutyteam group for it $CONSTITUENCY Duty Team
+#           Create a readonly group for it $CONSTITUENCY Read Only
+#           Give the duty team the correct rights
+#           Give the read only group the correct rights
+#
+#
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list