-
Notifications
You must be signed in to change notification settings - Fork 534
Description
What behaviour is observed:
When option GroupOptions->enablePermissionCheck
is enabled through config file, as soon as the user connects his parent group is set to registeredPlayerGroup
, using world context.
What behaviour is expected:
The parent group should be set "globally", without using any context, so that this feature is fully compatible with existing permissions plugins.
Steps/models to reproduce:
Using LuckPerms: define a specific parent for an user (lp user Player parent set Group
), then display his parents (lp user Player parent info
), you should be seeing ~> Parent Groups: Group
Then disconnect and log back in through AuthMe ~> Parent Groups: Group world=worldname, Group
(This could be a potential security issue if you want to demote that user later as the statement could be persistent if the permissions plugin only overwrites "global" parent group)
Plugin list:
As the issue has been narrowed down to AuthMe', the following list seems relevant:
Vault, LuckPerms, AuthMeReloaded
Environment description
Spigot / Paper Spigot; SQLITE driver
AuthMe build number:
5.4-SNAPSHOT-b1760
Error Log:
None
Configuration:
Already exposed
Related issues - #1265, LuckPerms/LuckPerms#294