When traveling to and in Bali please keep in mind that Indonesia is one of the countries with the strictest drug regulations in South East Asia. Possession of or dealing with any drugs including CBD Oil, THC Oil (even if prescribed), medical Marijuana, cookies, edibles is indictable due to Indonesian law according to which drugs/narcotics are defined as follows:
[extract:]
Article 1.1. Any substance or medicine derived from plants or non-plants, either synthetic or semi-synthetic, which may cause degradation or change of consciousness, sensation loss, reduction through elimination of pain, and may cause dependence, which is differentiated into groups as referred to the law:

1. Therapeutically useless drugs, highly addictive like opium and its derivatives, heroin, cocaine, hashish, marijuana, MDMA (ecstasy), mescaline, LSD, amphetamine, methamphetamine, etc.

2. Therapeutically useful drugs but highly addictive like hydromorphone, oxycodone, pethidine, morphine  etc.

3. Therpeutically useful but not as addictive as group 1&2 like dihydrocodeine, codeine, buprenorphine, etc.

Sentences can be high fines, jail up to life imprisonment and/or death penalty especially in case of trafficking.

Check here for the detailed English information on the Indonesian drug law.