Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Select all/none in capabilities editor #65

Open
nemchik opened this issue Sep 28, 2015 · 6 comments
Open

Select all/none in capabilities editor #65

nemchik opened this issue Sep 28, 2015 · 6 comments

Comments

@nemchik
Copy link

nemchik commented Sep 28, 2015

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.

@justintadlock
Copy link
Owner

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

@zackkatz
Copy link

👍

@warudin
Copy link

warudin commented Dec 15, 2017

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);

@justintadlock
Copy link
Owner

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

@warudin
Copy link

warudin commented Dec 15, 2017

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

@justintadlock
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants