Add function to DatabaseListView's check privileges icon