Refactor #5831 add binding for getPermissionList