Employers have always been responsible for ensuring their workers are able to perform work safely. This has not changed with the legalization of recreational cannabis.
Impairment (also known as unfit for duty/work) due to cannabis use can have severe consequences at any worksite, not only for the impaired worker, but also their co-workers, supervisor, and employer.