Team members with 'Can edit' or above permission can move files to the trash or restore files in the trash, but they don't have permission to permanently delete the files in the trash.
Only the workspace owner and admins can permanently delete files.
Related article: User Roles