What is the difference between public code and photographer code?

The public code is intended for photographed individuals and leads to external access. The photographer code is meant for the photographer: It guides the logged-in photographer to the configuration of their own card and later helps in associating the shoot with the collection. This keeps participant access separate from configuration access.