Hi，I found that viewer in a team who doesn‘t have editing permission can delete files in the team. Although deleted files can be undid or restored，there are still risks. Only editor in a team can delete files.
Hey @Wang_Lu_Yao_Vee, thanks for reaching out!
Only users with can edit access to a file should be able to delete files. More info here:
Can you please submit a bug report to our support team directly via the form here, so we can look into what happened? https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374