Ignore:
Timestamp:
02/28/08 15:19:38 (4 years ago)
Author:
hverton
Message:

Added security to the SVN module\ncompleted the Trac-to-CMS user mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ExiteCMS/tracsvn/php-files/modules/tracsvn/svn.php

    r1320 r1324  
    2828 
    2929// get the rights for the current user 
    30 $variables['view_svn'] = true; 
     30$variables['view_svn'] = iMEMBER && checkgroup($settings['tracsvn_view_svn']); 
    3131if (!$variables['view_svn']) { 
    3232    // redirect back to the trac module  
    3333    redirect("trac.php"); 
    3434} 
    35 $variables['view_diff'] = true; 
    36 $variables['view_file'] = true; 
     35$variables['view_diff'] = iMEMBER && checkgroup($settings['tracsvn_view_diff']); 
     36$variables['view_file'] = iMEMBER && checkgroup($settings['tracsvn_view_file']); 
    3737 
    3838// check if we have a revision number 
Note: See TracChangeset for help on using the changeset viewer.