What does it mean when it is stated that “an act authorised by law is not negligence”?

[Law of Torts] – It means that no action can be brought in respect of the injury caused by it when an act is authorised by law, provided that the act must not have been done negligently, or person authorised to do the act has not taken required care to ward of the accident the person doing act would be liable.