How restrict access to button pin/unpin

Hey, welcome! :wave:

Are you talking about these buttons?

You can hide the buttons with CSS only.

Install first this component: CSS Classes for Current User's Groups. It will add the current user group names, e.g., group-<name>, into the <body> element.

Then you can target anything:

:not(.group-trust_level_4) #topic-footer-buttons .pinned-button {
  display: none;
}
5 Likes