initial version of permission_manager.js