UX: displays only showInvite button when not staff on PM (PR #10030)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/can-no-longer-remove-users-from-a-pm/154446/20