I added some button via script in the <head>...</head>
part at this page:
/admin/customize/themes/2/common/head_tag/edit
this way
<script type="text/discourse-plugin" version="0.4">
api.onToolbarCreate(toolbar => {
toolbar.addButton({
id: "times-circle",
});
});
</script>
How can I make this button be visible only to staff users (moderators, admin) and users in group called “vip-group”?