anchor.diff:          return rslt;
       };
   
  -    var getPermissionsForPrincipal = function() {
  -        var rslt;
  -        $.ajax({
  -             url: "<c:url value="/api/assignments/principal/${ group.key }.json?includeInherited=true"/>",
  -             async: false,
  -             cache: false,
  -             dataType: "json",
  -             error: function(XMLHttpRequest, textStatus, errorThrown) {
  -                alert(textStatus + " : " + errorThrown);
  -             },
  -             success: function(data) {
  -                rslt = data.assignments;
  -             }
  -        });
  -        return rslt;
  -    };
  -
  -    var principalOptions = {
  -            columnDefs: [
  -                { key: "permissionOwner", valuebinding: "*.ownerName", sortable: true },
  -                { key: "permissionActivity", valuebinding: "*.activityName", sortable: true },
  -                { key: "permissionTarget", valuebinding: "*.targetName", sortable: true },
  -                { key: "permissionEdit", valuebinding: "*.ownerKey",
  -                    components: {
  -                        target: editUrl.replace("OWNER", '${"${*.ownerKey}"}')
  -                                        .replace("ACTIVITY", '${"${*.activityKey}"}')
  -                                        .replace("TARGET", '${"${*.targetKey}"}'),
  -                        linktext: "<spring:message code="edit"/>"
  -                    }
  -                }
  -            ],
  -            bodyRenderer: {
  -              type: "fluid.pager.selfRender",
  -              options: {
  -                  selectors: {
  -                     root: "#${n}permissionsTable"
  -                  },
  -                  row: "row:"
  -                }
  -                
  -            },
  -            pagerBar: {type: "fluid.pager.pagerBar", options: {
  -              pageList: {type: "fluid.pager.renderedPageList",
  -                options: { 
  -                  linkBody: "a"
  -                }
  -              }
  -            }}
  -        };
  -
       // Initialize the pager
       var options = {
           columnDefs: [
               { key: "permissionOwner", valuebinding: "*.ownerName", sortable: true },
  +            { key: "permissionActivity", valuebinding: "*.activityName", sortable: true },
               { key: "permissionPrincipal", valuebinding: "*.principalName", sortable: true },
  -            { key: "permissionActivity", valuebinding: "*.activityName", sortable: true },
  +            { key: "permissionTarget", valuebinding: "*.targetName", sortable: true },
               { key: "permissionEdit", valuebinding: "*.ownerKey",
                   components: {
                       target: editUrl.replace("OWNER", '${"${*.ownerKey}"}')
  
positive.code:     var pager;
      var editUrl = "${editUrl}";
      var deleteUrl = "${deleteUrl}";
  
      var getPermissionsForTarget = function() {
          var rslt;
          $.ajax({
              url: "<c:url value="/api/assignments/target/${ group.key }.json?includeInherited=true"/>",
               async: false,
               dataType: "json",
               error: function(XMLHttpRequest, textStatus, errorThrown) {
  
negative.code:     <div id="${n}permissionAddingTabs" class="portlet-section" role="region">
          <div class="titlebar">
              <h3 class="title" role="heading"><spring:message code="assignments"/></h3>
  
                  <div id="${n}assignmentTabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
                      <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
  