[Rt-commit] rt branch, 4.0/explain-createsavedsearch, created. rt-4.0.6-250-g7780dde

Kevin Falcone falcone at bestpractical.com
Fri Jul 13 18:58:23 EDT 2012


The branch, 4.0/explain-createsavedsearch has been created
        at  7780dde660f14d4b09617070512124e9ce0df8cb (commit)

- Log -----------------------------------------------------------------
commit 7780dde660f14d4b09617070512124e9ce0df8cb
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jul 13 18:57:40 2012 -0400

    CreateSavedSearch is purely an Article right
    
    It should have been renamed during the RTFM->Articles merge but I missed
    it.  We'll rename and upgrade in some future release.  Also, take it out
    of General and put it in Staff, because there's now way this is a
    General right.

diff --git a/lib/RT/System.pm b/lib/RT/System.pm
index ad4a2c1..bd67b97 100644
--- a/lib/RT/System.pm
+++ b/lib/RT/System.pm
@@ -84,7 +84,7 @@ our $RIGHTS = {
     ShowApprovalsTab => "Show Approvals tab",     # loc_pair
     ShowGlobalTemplates => "Show global templates",     # loc_pair
     LoadSavedSearch => "Allow loading of saved searches",     # loc_pair
-    CreateSavedSearch => "Allow creation of saved searches",      # loc_pair
+    CreateSavedSearch => "Allow creation of Article saved searches",      # loc_pair
     ExecuteCode => "Allow writing Perl code in templates, scrips, etc", # loc_pair
 };
 
@@ -96,7 +96,7 @@ our $RIGHT_CATEGORIES = {
     ShowApprovalsTab       => 'Admin',
     ShowGlobalTemplates    => 'Staff',
     LoadSavedSearch        => 'General',
-    CreateSavedSearch      => 'General',
+    CreateSavedSearch      => 'Staff',
     ExecuteCode            => 'Admin',
 };
 

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


More information about the Rt-commit mailing list