Author: corsepiu

Update of /cvs/pkgs/rpms/rt3/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2637

Modified Files:
        rt3.spec 
Added Files:
        rt-3.8.2-rh-bz506236.diff 
Removed Files:
        rt-3.4.1-I18N.diff 
Log Message:
* Fri Jun 19 2009 Ralf Corsépius <corse...@fedoraproject.org> - 3.8.2-8
- Address BZ #506885 (BZ #506236).
- Remove rt-3.4.1-I18N.diff.


rt-3.8.2-rh-bz506236.diff:

--- NEW FILE rt-3.8.2-rh-bz506236.diff ---
--- rt-3.8.2.orig/share/html/Admin/Global/MyRT.html     2009-01-07 
02:15:23.000000000 +0100
+++ rt-3.8.2/share/html/Admin/Global/MyRT.html  2009-06-19 07:25:23.000000000 
+0200
@@ -91,8 +91,13 @@
     current_portlets => $default_portlets->Content,
     OnSave => sub {
         my ( $conf, $pane ) = @_;
-       $default_portlets->SetContent( $conf );
-        push @actions, loc( 'Global portlet [_1] saved.', $pane );
+        if (!$session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 
'SuperUser')) {
+            push @actions, loc( 'Permission denied' );
+        }
+        else {
+            $default_portlets->SetContent( $conf );
+            push @actions, loc( 'Global portlet [_1] saved.', $pane );
+        }
     }
 );
 


Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/F-10/rt3.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- rt3.spec    24 Apr 2009 07:28:40 -0000      1.38
+++ rt3.spec    19 Jun 2009 07:16:35 -0000      1.39
@@ -40,7 +40,7 @@
 
 Name:          rt3
 Version:       3.8.2
-Release:       7%{?dist}
+Release:       8%{?dist}
 Summary:       Request tracker 3
 
 Group:         Applications/Internet
@@ -52,10 +52,14 @@ Source4:    README.fedora.in
 Source5:       rt3.logrotate.in
 
 Patch0:                rt-3.8.1-config.diff
-Patch1:                rt-3.4.1-I18N.diff
 Patch2:                rt-3.8.1-Makefile.diff
 Patch3:                rt-3.8.1-test-dependencies.diff
 
+# Address https://bugzilla.redhat.com/show_bug.cgi?id=506236
+# Patch from 
http://lists.bestpractical.com/pipermail/rt-announce/2009-June/000170.html
+# Fixed in rt >= 3.8.4
+Patch4:                rt-3.8.2-rh-bz506236.diff
+
 BuildArch:     noarch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -229,9 +233,9 @@ chmod -x UPGRADING README C* aclocal.* c
 find etc -type f -exec chmod a-x {} \;
 
 %patch0 -p1
-#%patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # Patch backups added by rpm disturb
 find -name '*.orig' -exec rm -f {} \;
@@ -431,6 +435,10 @@ fi
 %{RT3_LIBDIR}/RT/Test*
 
 %changelog
+* Fri Jun 19 2009 Ralf Corsépius <corse...@fedoraproject.org> - 3.8.2-8
+- Address BZ #506885 (BZ #506236).
+- Remove rt-3.4.1-I18N.diff.
+
 * Fri Apr 24 2009 Ralf Corsépius <corse...@fedoraproject.org> - 3.8.2-7
 - README.fedora.in: Add --dba root to rt-setup-database (BZ #488621).
 - R: perl(XML::RSS) (BZ #496720).


--- rt-3.4.1-I18N.diff DELETED ---

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to