workaround to make permissions for paladin work
added script for restoring api db from dump