[Bps-public-commit] RTx-TakeScreenshots branch, master, updated. 62b2ea75ccf5a2a26b697dbb508837858eb9a88f

Thomas Sibley trs at bestpractical.com
Mon Apr 25 17:30:58 EDT 2011


The branch, master has been updated
       via  62b2ea75ccf5a2a26b697dbb508837858eb9a88f (commit)
      from  fb33e94449a25bb8bb8f07d8d8e9b511731a235c (commit)

Summary of changes:
 bin/take-screenshots |    4 ++--
 etc/initialdata      |   22 +++++++++++++++++++++-
 2 files changed, 23 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 62b2ea75ccf5a2a26b697dbb508837858eb9a88f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Apr 25 17:30:34 2011 -0400

    Create some groups and grant rights to them to make the rights editor more interesting

diff --git a/bin/take-screenshots b/bin/take-screenshots
index 11ae183..bcb1bcb 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -107,8 +107,8 @@ ticket_charts|/Search/Chart.html?Query=Created+%3C+%27tomorrow%27&SavedChartSear
 dashboard|/Dashboards/10/SLA+Performance
 dashboard_subscription|/Dashboards/Subscription.html?id=10
 theme_editor|/Admin/Tools/Theme.html
-# acl-Roles-9 is the global Requestor group
-admin_rights_editor|/Admin/Global/GroupRights.html#acl-Roles-9
+# acl-User_Defined-22 is the Best Practical staff group
+admin_rights_editor|/Admin/Global/GroupRights.html#acl-User_Groups-22
 # Once we hit a mobile page, we resize to a smaller window.  Only mobile pages
 # should be below this line.
 mobile|/m/
diff --git a/etc/initialdata b/etc/initialdata
index cabb7d2..6b1d521 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -18,7 +18,15 @@
 );
 
 @Groups = (
-    # XXX TODO: Groups
+    {
+        Name    => "Best Practical staff",
+        Domain  => "UserDefined",
+    },
+    {
+        Name     => "RT hackers",
+        Domain   => "UserDefined",
+        MemberOf => "Best Practical staff",
+    },
 );
 
 @Users = (
@@ -51,6 +59,18 @@
         GroupType   => "Requestor",
         Right       => $_,
     }, qw/CreateTicket ReplyToTicket SeeCustomField ShowTicket/),
+    (map +{
+        Queue       => 0,
+        GroupDomain => "UserDefined",
+        GroupId     => "Best Practical staff",
+        Right       => $_,
+    }, qw/CommentOnTicket ShowTicketComments SeeQueue ShowOutgoingEmail/),
+    (map +{
+        Queue       => 0,
+        GroupDomain => "UserDefined",
+        GroupId     => "RT hackers",
+        Right       => $_,
+    }, qw/OwnTicket TakeTicket DeleteTicket RejectTicket ModifyTicket ModifyTicketStatus/),
 );
 
 @Scrips = (

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



More information about the Bps-public-commit mailing list