fixed givePermissionToGroupToAppList