In Australian Federal Law breastfeeding is a right, not a privilege.
Under the federal Sex Discrimination Act 1984 it is illegal in Australia to discriminate against a person either directly or indirectly on the grounds of breastfeeding. Direct discrimination happens when a person treats someone less favourably than another person. For example, it is discriminatory for a waiter to decline to serve a patron who is breastfeeding. Indirect discrimination happens when an apparently neutral condition has the effect of disadvantaging a particular group, in this case women who are breastfeeding. For example, an employer may impose a requirement on all employees that they must not make any breaks for set periods during the day under any circumstances. Such a condition would particularly disadvantage women who need to express milk.
A useful publication from the Australian Human Rights Commission is Getting to Know the Sex Discrimination Act: A Guide for Young Women.While not directly mentioning breastfeeding, this publication does explain your rights and responsibilities under the Act.
The law in Australia protects you from being discriminated against because you are a breastfeeding mother. This includes if you are expressing milk by hand or with a breast pump to give to your baby later.
… babies can be breastfed anywhere and anytime.
Australian Human Rights Commission - Indigenous Women and Pregnancy Discrimination
FACT SHEET 10: Breastfeeding and Work