Changes to Permissions

   * Makes public default principalId
   * Allows for emails to get/setPermissions