Fixed issue: Removed multiple use of the same ID
Merge pull request #272 from sergeyklay/master

Permission fixes