What is the difference between public code and photographer code?

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