Restricting Trust Level 4’s Ability to Pin a Sitewide Banner
The discussion revolves around limiting Trust Level 4 users’ ability to pin a sitewide banner. SMx considers the banner feature as a Staff-only feature and wants to disable it for non-staff users. SMx is using TL4 for moderation purposes but doesn’t want them to post sitewide banners.
Stephen mentions that per-category moderation is coming but not available yet, and SMx is using TL4 outside its intended purpose.
codinghorror supports restricting TL4’s ability to pin a sitewide banner. Mittineague provides a temporary workaround by hiding certain actions from TL4 using CSS.
techAPJ implements the change, restricting sitewide banner addition and removal to staff users only. The fix is available in the tests-passed branch and will be included in the upcoming beta, as confirmed by techAPJ.
I see the banner feature as a Staff only feature, since it basically highlights sitewide a message.
Can pin topic as banner be disabled for anyone other than staff? Thank you.
They are level 4 because I need them to be able to “moderate” their own boards, but I would not want them to post a sitewide banner.
I’m ok with them pinning posts under their own assigned boards, but not pin globally or set banners.
I experimented a bit with hiding some actions from Trust Level 4 back in Dec 2017. Not perfect but it might be good enough as a temporary approach. eg. Choose selectors as per need.
/* personal messages display none wrench leaders */
body:not(.staff):not(.archetype-regular) .toggle-admin-menu {
display: none;
}
/* personal messages display none individual buttons leaders */
/* pin and archive are n/a */
body:not(.staff):not(.archetype-regular) .topic-admin-multi-select
, body:not(.staff):not(.archetype-regular) .topic-admin-close
, body:not(.staff):not(.archetype-regular) .topic-admin-visible {
display: none;
}
/* topics display none individual buttons leaders */
/* topic-admin-close and topic-admin-visible not in this example set */
body:not(.staff):not(.archetype-private_message) .topic-admin-multi-select
, body:not(.staff):not(.archetype-private_message) .topic-admin-pin
, body:not(.staff):not(.archetype-private_message) .topic-admin-archive {
display: none;
}