It would be great if we could have a command (e.g. wp cap list-users <cap>... or wp user list-by-cap <cap>...) to list all the users associated with a given capability.
I'm happy to implement it, just wanted to post the idea here for approval, and(if approved) for advice on where to implement it.
It would be great if we could have a command (e.g.
wp cap list-users <cap>...
orwp user list-by-cap <cap>...
) to list all the users associated with a given capability.I'm happy to implement it, just wanted to post the idea here for approval, and(if approved) for advice on where to implement it.