Stargate Rewritten

Stargate Rewritten

241 Downloads

Problems with the `.use` node.

Pheotis opened this issue ยท 0 comments

commented

Bug Description

Players denied portal usage permissions can still use them?

Reproduction Steps

  1. As User1, with default perms, make some personal non-fixed portals.
  2. As User2, with default perms and sg.use.network.personal.other set to false, try to use User1's portals.

Desired Behaviour

User should be able to use portals on their own personal network.
When trying to use a portal on another user's network, user should be denied when trying to scroll right click the sign, when trying to activate the portal with the button, and/or when entering the portal.

Observed Behaviour

No noticable difference from being opped.
Able to use every portal normally with no signs of permission impediment.

Trace Logs

Latest build of rewrite on latest paper on windows.

Other Information

[Stargate] Checking access permissions
[INFO]: [Stargate]  Checking permission 'sg.use.world.world'. returned true
[INFO]: [Stargate]  Checking permission 'sg.use.network.personal'. returned true
[INFO]: [Stargate]  Checking permission 'sg.use.design.nether'. returned true
[INFO]: [Stargate]  Checking permission 'sg.use.type.networked'. returned true