anchor.diff:              },
               "json"
           );
  -    });
  +    };
  +    
  +    var renderPermissionMap = function() {
  +        $("#assignments").html("");
  +        $.get(
  +                "<c:url value="/api/permissionAssignmentMap"/>", 
  +                {
  +                    owner: '${ permissionDefinition.owner.fname }',
  +                    activity: '${ permissionDefinition.activity.fname }',
  +                    target: '${ permissionDefinition.target.key }',
  +                    principals: [<c:forEach items="${ principals }" var="principal" varStatus="status">'${ principal.principalString }'${ status.last ? '' : ', '}</c:forEach>],
  +                },
  +                function(data) {
  +                    allAssignments = data.assignments;
  +                    addAssignments(allAssignments, $("#assignments"));
  +                },
  +                "json"
  +            );
  +    };
  +    
  +    $(document).ready(renderPermissionMap);
   
   
   });
  
positive.code:             </c:forEach>
          </div>
          <h2 class="title" role="heading">
              <c:set var="message"><span class="name"><spring:escapeBody htmlEscape="true">${ fn:escapeXml(permissionDefinition.activity.name )}</spring:escapeBody></span></c:set>
              <spring:message code="edit.assignment.for.name" arguments="${ message }" htmlEscape="false"/>
          </h2>
          <h3 class="subtitle">
              <c:set var="message"><span class="name"><spring:escapeBody htmlEscape="true">${ fn:escapeXml(permissionDefinition.target.name )}</spring:escapeBody></span></c:set>
              <spring:message code="with.target.name" arguments="${ message }" htmlEscape="false"/>
          </h3>
          <div class="toolbar">
  
negative.code:         });
      };
      
      var updatePermission = function(principal, type) {
          $("#assignments").html("");
          $.get(
              "<c:url value="/api/updatePermission"/>", 
              { 
                  principal: principal,
                  assignment: type,
                  owner: '${ permissionDefinition.owner.fname }',
                  activity: '${ permissionDefinition.activity.fname }',
                  target: '${ permissionDefinition.target.key }',
  