LuckPerms

LuckPerms

41.4k Downloads

Boolean to let specific permissions override wildcards

helmasaur opened this issue ยท 6 comments

commented

Proposed behaviour

If a parent have a specific permission which is set to false and the child wildcard where the specific permission is is set to true, the command will not work. It would be nice to add a boolean in the configuration file so this behavior could be activiated.

When there are a few commands I want to disable, I set the wildcard to true and then get rid of the specific permissions, then I add the wildcard to true in the stronger group (for example admin > moderator).

commented

Just set the specific to true/false in the child. That overrides the parent.

commented

All the rest will inherit the right way?

commented

What?

No idea what you mean.

commented
commented

This is supported already, see the link above :)

commented

On Discord, I was told that if there is a specific right that is forbidden for a group, it won't be authorized in the child group, even if allow the wildcard in the child group.

The way I use permission is to add the whole wildcare and set to false the couple permissions i don't want in the group. Maybe it's the wrong way to do it?