The beauty salon processes data based on an agreement between the salon and the client.
However, at the time of photographing a person for marketing purposes, another legal basis is required, such as consent or legitimate interest.