members icon indicating copy to clipboard operation
members copied to clipboard

Select all/none in capabilities editor

Open nemchik opened this issue 9 years ago • 6 comments

Can you add a select all/none checkbox in the capabilities editor for both grant and deny columns? Just kind of a nice touch.

Since you have the capabilities split into sections like general, posts, pages, etc, it would be great to go to one of those sections and select all for just that section and move on to another section. Of course viewing the "all" section and having a select all/none checkbox would be nice too.

nemchik avatar Sep 28 '15 02:09 nemchik

This is on my list. It didn't quite make the cut-off for the last release.

justintadlock avatar Sep 28 '15 04:09 justintadlock

:+1:

zackkatz avatar Oct 13 '15 19:10 zackkatz

For one product we have to grant 337 capabilities, this is a lot of clicking / tabbing. For the admin role all capabilities have to be enabled, so a checkbox to activate all capabilities at once would be great.

For now I'm using this line of code in the console, which does the trick as well: jQuery('.members-cap-checklist').find('input:first').prop('checked', true);

warudin avatar Dec 15 '17 13:12 warudin

Are you saying that you have a plugin that adds an extra 337 capabilities? If so, that's ridiculous.

justintadlock avatar Dec 15 '17 13:12 justintadlock

The main part is for a whole load of extra post types.

warudin avatar Dec 15 '17 13:12 warudin

I know this has been a long-standing issue, but integrating it into the UI has been a tough problem to solve. I'm overhauling the role edit page for 3.0. The following is an early draft of where it's currently at. This should provide an outline from what we're working from.

The idea is going to be to integrate the proposal in this ticket into the following or something similar to it.

members-010

justintadlock avatar Jul 31 '19 14:07 justintadlock