anchor.diff:          { title: 'Manage', value: Sharing.accessTypes.managing }
         ]
       },
  -    computed: {
  -      publicPermission: function () {
  -        return { access_type: this.access_type, public: true, mandatory: true, title: 'Public' };
  -      }
  -    },
       methods: {
         deletePermission: function (index) {
           this.permissions.splice(index, 1);
  -      },
  -      setPublicAccessType: function (accessType) {
  -        if (accessType.value <= this.maxPublicAccessType) {
  -          this.access_type = accessType.value;
  -        }
  -      },
  -      // TODO: Get rid of this
  -      getClass: function (accessType, permissionAccessType, isPublicSetting) {
  -        var classes = [];
  -        if (accessType.value === Sharing.accessTypes.noAccess) {
  -          classes.push('no-access');
  -        }
  -
  -        // Disable options for the public access type if they grant too many privileges (probably don't want to allow anyone to edit)
  -        // Also disable options that grant lower privileges than the public setting provides
  -        if (!isPublicSetting && accessType.disabled ||
  -            (isPublicSetting && (accessType.value > this.maxPublicAccessType))) {
  -          classes.push('disabled');
  -        } else {
  -          if (permissionAccessType === accessType.value) {
  -            classes.push('enabled');
  -          } else if (accessType.value !== Sharing.accessTypes.noAccess && accessType.value <= permissionAccessType) {
  -            classes.push('enabled');
  -          }
  -        }
  -
  -        return classes;
         }
       }
     });
  
positive.code:   $j(document).ready(function () {
      var policy = JSON.parse($j('#permissions-json').text());
      permissionsTable.permissions = policy.permissions;
      permissionsTable.access_type = policy.access_type;
    });
  </script>
  
negative.code:   var permissionsTable = new Vue({
      el: '#permissions-table',
      data: {
        publicPermission: {
          access_type: Sharing.allVisitorsAccessType, // Uses snake case because that's how rails returns the JSON
          title: 'Public',
          public: true,
          mandatory: true },
        permissions: [],
        accessTypes: [
          { title: 'No Access', value: Sharing.accessTypes.noAccess },
  