make sure permission keys are imported just once
Merge pull request #1721 from Remo/permission-import

make sure permission keys are imported just once