I assume you are referring to
MongoDB Compass Readonly Edition. Rather than relying solely on user permissions, this edition of Compass takes the further step of removing Compass UI actions associated with inserting or modifying data. For example, actions like "Create Collection", "Insert Document", and "Edit Document" are not available.