Global Permission Files don't "pass through" #438


  • New
  • Defect
Open
  • _ForgeUser8389381 created this issue Oct 14, 2012

    The global files don't pass through (all) permissions:
    Steps to repoduce:

    1. Download and start current Stable Bukkit (1.3.2-R1.0 #02377 http://dl.bukkit.org/downloads/craftbukkit/view/01434_1.3.2-R1.0/ )
    2. Stop server, put current bPermissions stable (v2.9.24) in ./plugins, start server
    3. Stop server again, set the values from below
    4. Start server and connect
    5. /perm => "You are not allowed to do that", /list => works (if I remove the global entry it doesn't!). This is just an example for many commands, some work (the permission nodes are correct, if I copy them in the local files, everything works) some work, some don't.

    Versions:

    bPerm config:
    config.yml

    auto-save: true
    track-type: multi
    debug-mode: false
    allow-offline-mode: false
    use-global-files: true
    track-limit: false
    

    groups.yml (global)

    default: admin
    groups:
      admin:
        permissions:
        - bPermissions.admin
        - bukkit.command.list
        groups: []
        meta:
          priority: '100'
          prefix: '&5admin'
    

    users.yml (global)

    users:
      megge208:
        permissions: []
        groups:
        - admin
        meta:
          prefix: '&8developer'
    

    towny/groups.yml (Worldname is towny)

    default: default
    groups:
      default:
        permissions:
        - bukkit.broadcast.user
        groups: []
        meta:
          prefix: '&9user'
          suffix: ' Newbie'
    

    towny/users.yml

    users:
      megge208:
        permissions: []
        groups:
        - default
        meta: []
    

    I guess there is an issue with superperms and the "direct" API, as I've encountered some issues with the vault connection + bPermissions (in short: player.hasPermssion("perm") returns true, while vaultPermObjectThingy.has(player, "perm") returns false (sorry for pseudocode, I don't remember the exact syntax right now) )
    I hope this is not intended, as I really depend on those global groups :/

  • _ForgeUser8389381 added the tags Defect New Oct 14, 2012
  • _ForgeUser8389381 posted a comment Oct 14, 2012
    use-global-files: true
    

    isn't the only entry in config.yml, of course, just the only one I changed, sorry for being not precise there


    Edited Oct 14, 2012
  • _ForgeUser8389381 posted a comment Oct 14, 2012

    Argh, another thing I forgot to add: "/perm" is just an example for many plugins behaving similarly (in a sense that the players can't use commands because of insufficient permissions)


    Edited Oct 14, 2012
  • _ForgeUser8389381 edited description Oct 14, 2012
  • _ForgeUser8389381 posted a comment Nov 1, 2012

    Any update on this?


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