Adding permission info

Adding auto-permissions config. @zalun, please take a look.