Module: nagvis
Branch: master
Commit: 67ad95137a0039c403152fb828e9bf18503058df
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=67ad95137a0039c403152fb828e9bf18503058df

Author: LaMi <[email protected]>
Date:   Sun Feb 28 23:23:15 2010 +0100

Removed old auth controll with allowed_user and allowed_for_config options

---

 share/frontend/wui/js/addmodify.js |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/share/frontend/wui/js/addmodify.js 
b/share/frontend/wui/js/addmodify.js
index ab7916a..7b343ec 100644
--- a/share/frontend/wui/js/addmodify.js
+++ b/share/frontend/wui/js/addmodify.js
@@ -123,21 +123,6 @@ function validateMapCfgForm() {
                                        y = 
document.addmodify.elements[i].value;
                                }
                                
-                               if(sName == 'allowed_for_config') {
-                                       users_tab = 
document.addmodify.elements[i].value.split(',');
-                                       
-                                       suicide = true;
-                                       for(var k = 0, len2 = users_tab.length; 
k < len2; k++) {
-                                               if ( (users_tab[k]=='EVERYONE') 
|| (users_tab[k]==username) ) { suicide=false; }
-                                       }
-                                       
-                                       if(suicide) {
-                                               
alert(printLang(lang['unableToWorkWithMap'],''));
-                                               
document.addmodify.elements[i].focus();
-                                               return false;
-                                       }
-                               }               
-                               
                                if(document.addmodify.elements[i].value != '') {
                                        // Print a note to the user: This map 
object will display the summary state of the current map
                                        if(sType == "map" && sName == 
"map_name" && document.addmodify.elements[i].value == 
document.addmodify.map.value) {


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to