Changed barrel permissions implementation, added permissions for cooking (as for now taking out cooked potions) and drinking