Cannot hide File Browser > Context menu > Delete

I am trying to hide the delete command from the File Browser’s context menu when a file is selected. I included the following in the file “jupyter\user-settings@jupyterlab\application-extension\context-menu.jupyterlab-settings”

It does not seem to work since I can still see the Delete item. It works for filebrowser:copy, filebrowser:download, but not filebrowser:delete. Is it because the delete command is internally implemented differently? Must this be done by developing an extension? Thanks!

{
“contextMenu”: [
{
“command”: “filebrowser:delete”,
“selector”: “.jp-DirListing-item[data-isdir="false"]”,
“disabled”: true
}

]

}
2023-04-20_15-31-26