Roundcube Community Forum

 

How to remove option to select all mail in inbox

Started by bartoszx, March 12, 2024, 05:01:10 AM

Previous topic - Next topic

bartoszx

Hi
I have an unusual problem and I'm seeking a solution. A user often selects the option to "Select All Messages" thinking it only selects the visible portion, but in reality, it selects everything. After deletion, they end up removing all their messages. How can I prevent this? Is there a way to remove such a possibility?

JohnDoh

I'm going to assume you are using the Elastic skin, this is the one I have tested in. You could add `mail.select-all` to disable actions in the mail task only or `select-all` to disable actions in all tasks to the `disabled_actions` actions array in your config but this will disable all of the "automatic" selection actions because they work across pages and leave the user with the choice of manual selection only.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

bartoszx