Rule: permission
The permission rule is the most-used gate in any menu - “only let the player do this if they have the permission.” Pair it with denyActions for a friendly rejection.
click { rules { permission: "myplugin.admin" } actions { ... } denyActions: ${denyNoPerm}}The rule passes if the player has the named permission node. To gate by group instead of permission, swap to the group rule (works with LuckPerms). To invert (allow only those WITHOUT the permission), prefix with -: -permission: "...".