move permission migration code into migration
Merge pull request #8 from abenari/812

812