Limiting "delete record" privileges in interface to SQL Server table via a Razor Pages interface

User interface to one table in a corporate database displays a list of records for selection to edit.
The developer of the list screen also included capability to delete records(via a "trash can" icon alongside each record in the list).
What would be the best way to only show that "trash can" icon and give "delete record" privileges to a small number of users who have such a role?