Changeset 2997

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

When emitting acls for update must not include inherited ACEs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/resources/javascript/bedework/bedeworkAccess.js

    r2867 r2997  
    559559 
    560560  this.toXml = function() { 
     561    if (this.inherited != "") { 
     562      return ""; // Should not emit inherited aces 
     563    } 
     564     
    561565    var res = "  <D:ace>\n" + this.principal.toXml(); 
    562566 
     
    564568    res += this.howsToXml(false); 
    565569 
    566     if (this.inherited != "") { 
    567       res += "    <D:inherited><D:href>" + this.inherited + "</D:href></D:inherited>"; 
    568    
     570    //if (this.inherited != "") { 
     571    //  res += "    <D:inherited><D:href>" + this.inherited + "</D:href></D:inherited>"; 
     572    //
    569573 
    570574    return res + "  </D:ace>\n";