Code to handle "read" permission was changed in hasPermission method. The old code used old way to look up the public_access field in xml_documents table.
Code to handle "read" permission was changed in hasPermission method. The old code used old way to look up the public_access field in xml_documents table.