Permissions not working properly #486


  • New
  • Defect
Open
  • ryvix created this issue Jan 21, 2013

    Describe to us the issue that you're having:
    Using the SignShop plugin http://dev.bukkit.org/server-mods/signshop with newer versions of bPermissions does not grant permission to create shops. Previously using a dev version of SignShop allowed it to still work when using bPermissions 2.9.26, however in the latest SignShop 2.5.2 release this no longer appears to be the case.

    Which steps will reproduce this problem?:
    1) Make a CB server with these plugins: SignShop 2.5.2, bPermissions 2.10.3, Vault latest release 1.2.22 or dev build 293, BOSEconomy
    2) Start the server
    3) Add permission signshop.signs.*
    4) To make a signshop place a chest with something in it.
    5) Make a sign with [Buy] on the first line and 1 on the last.
    6) Hit the chest with redstone then the sign with redstone. It should normally create the shop.

    Do you have an error log of what happened?
    Normally no errors when using the above versions. It just says I don't have permission to use that sign to create a shop.

    However, now when reverting to bPermissions 2.9.26 I am getting errors due to the API changes in bPermissions, even when reverting to Vault 1.2.22. It might be due to using a newer SignShop than before when it worked with this version of bPermissions.

    This is the startup log and error using bPermissions 2.9.26 just when logging in: http://pastebin.com/5XPD9Mr4

    This is the error if I try to hit a chest with redstone to create a shop: http://pastebin.com/TDBeYHKd

    Interestingly enough if I use bPermissions 2.9.27 I get no errors but it says I have no permission to create the sign shop still.

    Which version of bPermissions are you using?: (Please don't say "latest"!!!)
    bPermissions 2.10.3

    Which version of CraftBukkit?: (Please don't say "latest"!!!)
    CB build #2608

    Which OS?
    CentOS 5.9
    Ubuntu 12.10
    Java 7u10

    Any other information we may need (plugins, configs, etc):

    I just tried with the latest CB build #2608, Vault build #293, and bPermissions release v2.10.3, and latest SignShop 2.5.2 release (doesn't show up on DBO yet), but still the same issue.

    The only other plugin on the server is BOSEconomy, but I tried it with Craftconomy as well and no difference. The permission node to give is: Signshop.Signs.* (though bPermissions always makes it signshops.signs.* which I don't think matters but you never know).

    SignShop devs say it is likely a bPermissions issue so that's why I am posting here. If you need any more info or any help testing just let me know =)

    Please fill out this form properly! Failing to do so may result in your ticket being marked invalid.

  • ryvix added the tags New Defect Jan 21, 2013
  • Devinesque posted a comment Jan 23, 2013

    This appears to be an issue with case sensitivity. SignShop is looking for Signshop.Signs.Buy and bPerms is converting everything to lowercase.

  • Forge_User_53439273 posted a comment Jan 24, 2013

    @Devinish: Go

    I should convert signshop.signs.buy to lowercase when they call it. I'll be looking into it.

    Also if they are using Vault (they shouldn't be) they should just use superperms!

  • Devinesque posted a comment Jan 27, 2013

    @codename_B: Go

    We use Vault for permissions and economy convenience.


To post a comment, please login or register a new account.