LuckPerms

LuckPerms

41.4k Downloads

Group context doesn't seem to apply when inherited via parent

braceyourself07 opened this issue ยท 1 comments

commented

Description

I have permission nodes in a group called plotperms and I use this group to give permissions to players to use in specific server/world contexts by adding it as a parent to the default group. In previous versions of LuckPerms this seemed to work fine, but I am setting up a new network and applying the same technique but the player is not able to inherit these permissions.

Reproduction steps

  1. Example permission of plots.auto exists in the group plotperms
  2. Player1 is on server public in world plot75
  3. default inherits plotperms on server public and world plot75 contexts
    (by using the command /lp group default parent add plotperms public plot75)
  4. Player1 tries using the command /plot auto which claims a new plot but it says they do not have permission: plots.auto and looking at /lp verbose says that the plots.auto permission is undefined.

If you assign the plotperms group to default or to the player directly without a server or world context, the player is then able to use the command.

Environment details

Running Tuinity 1.16.5 build f0e91a4
Using LuckPerms v5.3.53
No errors in console

commented

This was resolved by deleting config.yml and regenerating a new one. I guess I modified something that broke context evaluation? Anyways it's fixed now.