[vhffs-dev] [svn] commit: r177 - /trunk/vhffs-panel/cvs/prefs_save.pl

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Fri Apr  7 13:31:28 2006
New Revision: 177

Log:
fix bug to update cvs repository through panel


Modified:
    trunk/vhffs-panel/cvs/prefs_save.pl

Modified: trunk/vhffs-panel/cvs/prefs_save.pl
==============================================================================
--- trunk/vhffs-panel/cvs/prefs_save.pl (original)
+++ trunk/vhffs-panel/cvs/prefs_save.pl Fri Apr  7 13:31:28 2006
@@ -46,7 +46,7 @@
 {
 	$message = gettext( "Cannot retrieve informations about this CVS repository" );
 }
-elsif( ( Vhffs::Acl::what_perm_for_user( $user , $cvs , $vhffs ) != Vhffs::Constants::ACL_VIEW ) && ( $user->is_admin != 1 ) )
+elsif( ( Vhffs::Acl::what_perm_for_user( $user , $cvs , $vhffs ) < Vhffs::Constants::ACL_MODIFY ) && ( $user->is_admin != 1 ) )
 {
 	$message = gettext( "You're not allowed to do this (ACL rights)" );
 }




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/