Closed x1p closed 2 years ago
Fixed in build#2283.
Permission check requires parent command permission. In case of delete, player must have:
bskyblock.admin
and bskyblock.admin.delete
commands.
bskyblock.admin
is required to access admin main command, bskyblock.admin.delete
is required to access delete command.
Expected behavior
A staff member tried to delete an island by executing
bsb delete NameOfPlayer
The command was not accepted. Checking the permissions, it checks for the appropriate permission.So the question is: why does a staff member needs admin.* too in order to delete an island?
Observed/Actual behavior
Message:
Steps/models to reproduce
Make island Execute: /bsb delete MyPlayerName See message
BentoBox version
[15:42:06 INFO]: Running PURPUR Invalid . [15:42:06 INFO]: BentoBox-versie: 1.21.0-SNAPSHOT-b2282 [15:42:06 INFO]: Database: JSON [15:42:06 INFO]: Geladen spelwerelden: [15:42:06 INFO]: bskyblock_world (BSkyBlock ): Overworld, Nether, TheEnd [15:42:06 INFO]: Loaded add-ons: [15:42:06 INFO]: Biomes 2.1.0-SNAPSHOT-b225 (ENABLED ) [15:42:06 INFO]: BSkyBlock 1.15.2-SNAPSHOT-b718 (ENABLED ) [15:42:06 INFO]: Challenges 1.1.0-SNAPSHOT-b486 (ENABLED ) [15:42:06 INFO]: Level 2.9.1-SNAPSHOT-b505 (ENABLED ) [15:42:06 INFO]: Limits 1.19.1-SNAPSHOT-b295 (ENABLED ) [15:42:06 INFO]: MagicCobblestoneGenerator 2.5.0-SNAPSHOT-b246 (ENABLED ) [15:42:06 INFO]: Warps 1.13.0-SNAPSHOT-b325 (ENABLED )
Plugin list
No response
Other
No response