Like a few others here, I’ve been concerned about the ability of users to invite an entire channel’s user base to view an asset, but seem to have found a CSS fix.
Problem
I’ve altered our language pack to remove any reference to inviting a channel, but the search box still returns channel results, e.g. if searching for someone called ‘Sofia’, typing ‘sof’ will autocomplete to our global ‘Soft Skills’ channels with thousands of users…
Solution
/* AM - Prevent invitations to all channel users */
.inviting-search-multiselect .text-basic-size:has(.additional-info){
display: none!important;
}
- .inviting-search-multiselect being the search bar on the Invite pop-out
- .text-basic-size being the individual search results
- :has specifying only search results which also include the number of channel users (.additional-info)
This results in users still being selectable, but channels not!