Changeset 2996

Show
Ignore:
Timestamp:
09/02/10 13:44:27
Author:
douglm
Message:

When emitting acls for update must not include inherited ACEs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.6/deployment/resources/javascript/bedework/bedeworkAccess.js

    r2529 r2996  
    570570 
    571571  this.toXml = function() { 
     572    if (this.inherited != "") { 
     573      return ""; // Should not emit inherited aces 
     574    } 
     575     
    572576    var res = "  <D:ace>\n" + this.principal.toXml(); 
    573577 
     
    575579    res += this.howsToXml(false); 
    576580 
    577     if (this.inherited != "") { 
    578       res += "    <D:inherited><D:href>" + this.inherited + "</D:href></D:inherited>"; 
    579    
     581    //if (this.inherited != "") { 
     582    //  res += "    <D:inherited><D:href>" + this.inherited + "</D:href></D:inherited>"; 
     583    //
    580584 
    581585    return res + "  </D:ace>\n"; 
     
    710714      var th2 = document.createElement("th"); 
    711715      var txt2 = document.createTextNode(bwAclWidgetAccessStr); 
    712       var th2 = document.createElement("th"); 
     716      var th3 = document.createElement("th"); 
    713717      var txt3 = document.createTextNode(bwAclWidgetInheritedStr); 
    714       var th3 = document.createElement("th"); 
    715718      var th4 = document.createElement("th"); 
    716719      th1.appendChild(txt1);