Permissions set, but not all are working properly. #164


  • New
  • Other
Open
Assigned to _ForgeUser1494830
  • _ForgeUser16846558 created this issue Aug 21, 2014

    What is the issue?

    I may have done some things that most wouldn't, as I added every node for every plugin, and bukkit perms. I wanted absolute control and the ability to change as I saw fit. It all worked as of June. In July my current server went down for a month due to lack of funds. When we came back up in August, things were acting weird. Most of my default group perms weren't working proper. Thats when I decided to switch permission plugins. So I found one that could be used cross server in a bungee environment, all localhost connections.

    I used a converter to switch from PEX to zPerms yesterday. 90% of the permission nodes function. But there are certain nodes that I have configured to True which no one can use in game. I run /permissions check <perm.node> <player> and it says they don't have said node. I go check the file and its <perm.node>: True. Pex told me "regex-matched a value of undefined from cache." for anyone in the default group.

    Yaml Parsers verify my file to be valid. I've spent almost 3 days trying to fix the permission problem.

    Please provide any additional information below.

    I've managed and helped host two different server for almost 2 years now for 2 different people consecutively. I understand permission nodes perfectly and have used Permissions Ex up until yesterday. I switched and found that zPermissions was even easier to verify allowed or blocked nodes.

    This was the debug outputs from Pex before I switched. I hate to tell you about this from a Pex standpoint, but I'm not going back to Pex. I'm going to continue using zPerms, which is why I came here. Maybe something in the conversion didn't work right or something.

    Superperms dump for a player: http://pastebin.com/aNbLuU72 http://pastebin.com/HxQNjhwv
    Pex Debug output to console: http://pastebin.com/vaGxc5F8 http://pastebin.com/MK94Ppp8
    zPerms data.yml file: http://pastebin.com/s0GaKT1H

  • _ForgeUser16846558 added the tags New Other Aug 21, 2014
  • _ForgeUser1494830 posted a comment Aug 21, 2014

    I may have missed it, but you don't give any examples of nodes you expect to be true?

    And I've never used PEX, so I really don't know what's going on there.

    I'm assuming you edited zPerms config.yml appropriately? Set the default group, etc.

    I see a few questionable node names in data.yml that make them look like wildcards or regex nodes. zPerms is just a straight Bukkit/SuperPerms plugin. So any wildcard'ish characters (e.g. "*", square brackets, angle brackets) will not be interpreted at all.

    zPerms has a number of commands to aid in debugging, specifically commands to query each different layer: zPerms storage, Bukkit effective permissions, and permissions as viewed by other plugins. /perm check/inspect/diff/show/dump/has/etc.

    Unfortunately, without anymore details, there's not much else I can do. And really, that converter is more about preserving memberships and group structure. Permissions should really be dealt with manually.

  • _ForgeUser1494830 posted a comment Aug 21, 2014

    You've spurred me to finally write this doc:

    http://dev.bukkit.org/bukkit-plugins/zpermissions/pages/debugging/

    Have a look at it, start at the bottom-most layer and try things out. See where the permission disappears.

    Without details, I can't really do much else.

  • _ForgeUser16846558 posted a comment Aug 21, 2014

    Sorry, I was out eating. The questionable perms, like those with [], I put in but denied simply as a "come back to it when I need it so I don't have to look it up later" kind of thing.

    Thank you for replying. I'll let you know if anything pops up when I do the debugging.

  • _ForgeUser16846558 posted a comment Aug 21, 2014

    Here's the debug for my default group. Just in case you were curious.

    http://pastebin.com/G9ik1H6d

  • _ForgeUser1494830 posted a comment Aug 22, 2014

    Wow, that's a lot of permissions in a single group. Also, if you run the commands in the console, it won't force you to page through it 20 lines at a time.

    Lastly, most of the commands will take a filter/-f option, including "show." It'll help narrow down these huge lists.

  • _ForgeUser16846558 posted a comment Aug 23, 2014

    Ok so I took your advice and started over from scratch. I'll let you know if something doesn't work. I was trying to go the easy route from Pex, which apparently was a bad idea. And I keep forgetting wildcards don't work here. That'll take some getting used to.

    Thank you for your time, I really appreciate it.


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