new version of PermissionManagerSample2