Hello, I have been developing a plugin and ran into a potential bug with the permissions inheritance.
When giving my admin group a permission (test.issue.one : true) then negating a permission higher in the hierarchy (test.issue : false) in a child group (superadmin) then checking if a child of the superadmin group (user simmpole) has the former permission (test.issue.one) it resolves as true.
The following is a video of the issue in action: Here
EDIT: fixed link.
Here is my permissions.json
I am unsure if this is a bug, an intended behavior or some sort of user error, but I am creating a plugin in which the negation of permissions higher in the hierarchy would be very beneficial to the end user.
If anyone has any input it would be greatly appreciated.
Apologies in advance if this is a duplicate, has been answered, or is on one of the issue tracker (a quick search turned up nothing).
Sponge version: https://github.com/SpongePowered/Sponge/commit/172a74350cbe009103fcc31bb135bd75b1e888d0
Forge Version: v126.96.36.1999