Issue #5835: Add getPermissionList and modify callback