Closed drakmirv closed 3 years ago
Currently the plugin does not allow for this kind of permissioning. If wg.network.global
is set, then the specific permissions are ignored. So in order to achieve what you are wanting to achieve, you'd need to add permissions for each network apart from the one you are not wanting to access.
I will have a think as to the best way to implement an exclusion of a network from the global permission.
Makes sense. My goal was to allow global networks to be created by the players but keep some global networks "admin only".
Since I wasn't planning on using fixed networks, I guess I can move my admin networks to be of fixed type and let that happen.
I think I may be able to solve it this way with Luck Perms. I'll try later on and report back:
wg.network.* true wg.network.x false remove wg.network.global true
On Wed, Aug 18, 2021 at 6:46 AM Jarada @.***> wrote:
Currently the plugin does not allow for this kind of permissioning. If wg.network.global is set, then the specific permissions are ignored. So in order to achieve what you are wanting to achieve, you'd need to add permissions for each network apart from the one you are not wanting to access.
I will have a think as to the best way to implement an exclusion of a network from the global permission.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jarada/WuufusWaygates/issues/8#issuecomment-901012272, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNKYJCCCKM2JJ42BPC2IU3T5OFR3ANCNFSM5CK3PBGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
The way I originally saw admin networks working is to setup an Invite Network for admins, since such a restricted network is not really "global" in its nature. As owner of the network you can then invite specific users (your admins) to that network, and only they can then add gates to the network.
Let me know if your network permissioning works also if you decide to go that route :)
Can users use the gates if we use an invite network?
I'm good with that concept - the gate in this case is my "tutorials" network. :)
On Wed, Aug 18, 2021 at 10:11 AM Jarada @.***> wrote:
The way I originally saw admin networks working is to setup an Invite Network for admins, since such a restricted network is not really "global" in its nature. As owner of the network you can then invite specific users (your admins) to that network, and only they can then add gates to the network.
Let me know if your network permissioning works also if you decide to go that route :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jarada/WuufusWaygates/issues/8#issuecomment-901148748, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNKYJHJVSIAQI2RTXFUMQDT5O5QDANCNFSM5CK3PBGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Yes, all users will be able to use the gates unless they are set to private, and travel to the gates unless they are set to hidden, and then it would just be the owner of the gate that can travel from/to the gate respectively (or wg.admin
or wg.bypass
users).
The network type just influences who can join gates to a network and how the network itself operates.
Thanks for the clarity. Invite networks seem like the right solution then.
On Fri, Aug 20, 2021, 5:14 AM Jarada @.***> wrote:
Yes, all users will be able to use the gates unless they are set to private, and travel to the gates unless they are set to hidden, and then it would just be the owner of the gate that can travel from/to the gate respectively (or wg.admin or wg.bypass users).
The network type just influences who can join gates to a network and how the network itself operates.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jarada/WuufusWaygates/issues/8#issuecomment-902555629, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNKYJCNM47EF4IB4MWOOW3T5YMJFANCNFSM5CK3PBGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Awesome. I'll close this issue :)
How to specify that users can assign to any global network EXCEPT a particular one?
I tried:
wg.network.global true wg.network.specific false
but the permission check seems to stop at the 1st one and not take the "false" permission into account.