Add permissions and sql req