The shared folder will is meant for sharing documents, but It does not suffice to give read/write access to the Photos Library. You have to grant the read/write access every time - over and over again, after a different user accessed the library. As soon as you open a Photos Library, Photos will write to it, and the new files will have a different ownership.
As long as the Photos Library is not on volume, where the "Ignore ownership on this volume" flag can be enabled, you will always have ownership and permission problems. And you can only set this flag on a volume, where not system is installed and no Time Machine backups are stored.
Instead of using the shared folder, try to use a second portion on your Mac, if you do not want to use an external volume.