First draft explaining permissions with sqlite