EssentialsX

EssentialsX

2M Downloads

essentials.time permission goes beyond scope

muzak23 opened this issue ยท 1 comments

commented

Information

Full output of /ess version:

>.... [11:51:47 INFO]: Server version: 1.16.1-R0.1-SNAPSHOT git-Tuinity-"8608126" (MC: 1.16.1)
>.... [11:51:47 INFO]: EssentialsX version: 2.18.0.27
>.... [11:51:47 INFO]: PlaceholderAPI version: 2.10.9
>.... [11:51:47 INFO]: LuckPerms version: 5.1.93
>.... [11:51:47 INFO]: Vault version: 1.7.3-b131
>.... [11:51:47 INFO]: EssentialsXProtect version: 2.18.0.27
>.... [11:51:47 INFO]: EssentialsXSpawn version: 2.18.0.27

EssentialsX config: https://gist.github.com/muzak23/ccfe350081103699f44a850321e79a02

Details

Description
Users with the essentials.time permission node have permission to use /time set, even though that command has its own perm node, essentials.time.set

Steps to reproduce
Have a player have no perms (for time) and try /time or /time set. They can't do either. Give the player perms for essentials.time, and try /time (just tells the time) and they can. Then they try /time set and they also are able to. This also works with /day and /night and so on.

Expected behavior
essentials.time should only give permission for checking the time, not changing it, as there is already a separate permission for changing it.

commented

Wait someone made an issue right before me nvm