Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: bartoszx on March 12, 2024, 05:01:10 AM

Title: How to remove option to select all mail in inbox
Post by: bartoszx on March 12, 2024, 05:01:10 AM
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?
Title: Re: How to remove option to select all mail in inbox
Post by: JohnDoh on March 12, 2024, 04:26:15 PM
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.
Title: Re: How to remove option to select all mail in inbox
Post by: bartoszx on March 13, 2024, 11:15:09 AM
Thanks for your tips.
I will test it soon.