diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js index 210164b956..8dc1530a1c 100644 --- a/public/src/modules/helpers.js +++ b/public/src/modules/helpers.js @@ -179,7 +179,11 @@ } return states.map(function (priv) { var guestDisabled = ['groups:moderate', 'groups:posts:upvote', 'groups:posts:downvote']; - var disabled = member === 'guests' && guestDisabled.includes(priv.name); + var spidersEnabled = ['groups:find', 'groups:read', 'groups:topics:read']; + var disabled = + (member === 'guests' && guestDisabled.includes(priv.name)) || + (member === 'spiders' && !spidersEnabled.includes(priv.name)) || + (member !== 'registered-users' && priv.name === 'groups:local:login'); return ''; }).join('');