- some work on permission management system