Refactor permission assignments to use IoC container and avoid class alias type hinting error
Merge pull request #217 from Shotster/fix-permission-assignment

Refactor permission assignments to use IoC container