The meaning of "act in capacity" [closed]

If you are "acting in a given capacity" you are performing the function defined by the capacity, the "capacity" being a previously defined position in a society or organisation.

For example if the mayor of a town has resigned and there has not yet been an election for a new one another councillor might perform the duties of the mayor for a while without actually having the title. In that case the councillor would be "acting in the capacity of mayor".

The problem with the sentence as it stands is that the "capacity" is not very well defined. It is possible that a previous sentence has defined it well or that the writer is referring to advertising or to role models as suggested by Kate Bunting.