If you look into the Photos Library bundle you will see that many of the database files inside are SQLite databases. SQLite is not synchronised for network transactions. A Photos Library needs to be stored locally on the computer where Photos running, or you are risking inconstancies in the internal databases. Network databases are expensive (for example FileMaker Pro), because all database transactions need to be synchronised for network access. Photos has been designed as a single user, local database and is only safe to use, if the Photos Library is on a locally mounted volume.