A normal fire I wouldn't have an issue with, a bonfire yes.

An unattended fire is probably a violation of code too and unacceptable regardless.