Skip to content

[BUG] #2308

@erkutay-ucar

Description

@erkutay-ucar

Description

players can change shop mode without having permission through gui

Steps to reproduce

give yourself only quickshop.create.cmd quickshop.create.sell
permissions even if you can't use the /qs buy command you can still change the mode using gui

Expected Behaviour

it must cancel the change mode action

Screenshots

No response

/quickshop paste URL

no need for log

Additional Context

this applies for other permissions like change price

Checklist

  • I'm running Paper, and not a fork
  • I confirm that Paper has been updated to the latest build
  • I confirm that QuickShop-Hikari has been updated to the latest stable version released on Modrinth (or the latest CI version)
  • I confirm that I'm using QuickShop-Hikari, not QuickShop-Reremake, and I'm well aware that they're maintained by different people, and that Reremake issues shouldn't be reported here.
  • I confirm that I am running a server that is not a Hybrid Server, (e.g. Mohist, Magma, CatServer, Banner, etc.), and I am aware that QuickShop-Hikari may not function properly on a NeoForge/Forge/Fabric hybrid server, and I am running at my own risk on such a server program, and I am aware that the I run such server-side programs at my own risk and know that I will not receive any support or help for this behavior.
  • I confirm that I have not read these checkboxes and therefore I just ticked them all.
  • I am well aware that if the Issue Ticket is not filled out correctly and completely, it will simply be closed without any response or reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: lowQuick task, ~1 hour. Example: Add config toggle.scope: guiInventory menus and UIs. Example: Creating a faction management menu.status: backlogNot started yet. Example: Feature request logged.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions