How to show hide a dropdown based on logged in user's group?

Scenario: Need to show a dropdown only for administrator group members. How to check this condition and hide dropdown when logged in user is not an administrator?

As sample SAIL example/recipe would be great please?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data