How do I disable commands for only 1 or 2 opped players (like worldedit and vanish)

I'm co-owner of a mc-server and the owner want's to make some of his friends op, so they have access to all commands. But is there a way to take some permissions away for an opped player, without doing it for all the opped players (like me)

Server version: Spigot 1.8.x (for version 1.7.x - 1.8.x)

We use permissionsex. so what do i have to enter to take /vanish away?

permissions:
- ?
- ?

Plugins: Essentials,pex,multiverse,silkspawners,worldedit,worldguard and some wands


Solution 1:

The easiest way to do this would be to take op away from them, then give them the following permission nodes using /pex user <user> add <permission>:

First, give them *. This allows them to "use" any permission node.

Then, give them -essentials.vanish.*. This overrides the previous node, preventing them from using vanish.

Solution 2:

You could try using a plugin such as Disable Commands Plus to give certain players specific permissions.