Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /insurrection/src/

Project highlights: A modern, light-weight, self-contained, web-based toolset for Subversion repository browsing and administration.  A live system can be seen in action here.

insurrection
Discussion topic

Back to topic list

CVS update: /insurrection/src/

Author mksoft
Full name Michae Sinz
Date 2005-04-16 00:56:33 PDT
Message User: mksoft
Date: 05/04/16 00:56:33

Modified:
 /insurrection/src/
  admin.cgi

Log:
 To non-admins, only show their own access rights, not all of the users
 

File Changes:

Directory: /insurrection/src/
=============================

File [changed]: admin.cgi
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/admin.cgi?r1=1.3​&r2=1.4
Delta lines: +42 -39
---------------------
--- admin.cgi 16 Apr 2005 07:39:50 -0000 1.3
+++ admin.cgi 16 Apr 2005 07:56:33 -0000 1.4
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: admin.cgi,v 1.3 2005/04/16 07:39:50 mksoft Exp $
+# $Id: admin.cgi,v 1.4 2005/04/16 07:56:33 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This script handles the management of the web/svn access
@@ -330,6 +330,8 @@
 
 foreach my $user ('*', sort keys %userPasswords)
 {
+ if ($canAdminUser || ($AuthUser eq $user))
+ {
    print '<tr bgcolor="' , $lineColour[$line] , '">'
        , '<td align=left valign=middle>&nbsp;';
 
@@ -376,6 +378,7 @@
    print '</tr>';
 
    $line = 1 - $line;
+ }
 }
 
 print '<tr bgcolor="#AAAAAA">';
@@ -442,7 +445,7 @@
 
 print '</form>';
 
-&svn_TRAILER('$Id: admin.cgi,v 1.3 2005/04/16 07:39:50 mksoft Exp $',$AuthUser);
+&svn_TRAILER('$Id: admin.cgi,v 1.4 2005/04/16 07:56:33 mksoft Exp $',$AuthUser);
 
 # all done...
 exit 0;




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@insu​rrection.tigris.org
For additional commands, e-mail: cvs-help@insurrectio​n.tigris.org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /insurrection/src/ mksoft Michae Sinz 2005-04-16 00:56:33 PDT
Messages per page: