Add restrictions on if documents are accesible.