Added crafting and smelting permission checks