
Wildcard for Multi server application such a *
Closed this issue ยท 5 comments
Description
To not be messy all our servers rely on context tags to apply permissions so to not cause issues on our other servers. However its either all or Nothing, if global syncing is setup context tags become useless, if enabled you have to manually set permissions per server, this is an issue for if we want some permissions such as a menu for staff to ban people to be global, example of what i mean /lp user dave permission set staff.ban server:* would be the wild card for entire network, rather than per server, Bungee, Factions, SMP, Modded etc.
Proposed Behaviour
/lp user dave permission set staff.ban server:* would be the wild card for entire network, rather than per server, Bungee, Factions, SMP, Modded etc.
Extra Details
No response
You don't need to apply a server context in a network setup, if you set a permission without specifying any contexts it will apply everywhere. You only need to set a context on permissions you specifically want to only apply in certain contexts.
Odd its not been doing that for us. Unless it's populated the permission doesnt set
Make sure you haven't set include-global
to false in your LP configs, it is true by default and it determines whether leaving out the server context applies the permission or not
Hiya appreciate the comment and help. Does "include-global" not mean all servers sync permissions together? rather than per server? If thats not the case ill look for this and change the setting
When include-global
is set to false, the "current" luckperms instance will ignore permissions without a server context altogether, meaning the server context is required to be set to the current server value. When it is set to true, permissions without a server context, global permissions, are applied.