add PermissionsManager

add PermissionsManager