Users can sell items from shops they don't have access to
OortCloud42 opened this issue ยท 2 comments
I have a few shops configured, and one of them should be accessible only for users in a special group. This works as expected, but users outside of the group can still sell items added only to the shop they don't have access to.
As far I looked into the sell code, there is no line of code, if the player has the permission for the item. It could an easy-ish fix, if you could define the permission for specific items too. That would be then stored in the itrm table. The it will just ask if the player has this permission. Could be sum for updates. @pablo67340
This has been fixed in commit e9f6cbc
Thank you for your report. Please update to GUIShop 8.5 to fix this issue.