Edibles are typically some sort of treat like a gummy or a chocolate bar or a cookie, so it just makes sense that if the adult leaves them accessable to kids, that they are gonna eat them.
Make them taste like **** and the kids won't eat them.
Problem solved.
The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people