This repository was archived by the owner on Dec 4, 2024. It is now read-only.
Add permission context#24
Closed
Tobi406 wants to merge 2 commits into
Closed
Conversation
Member
|
What's the use-case? I don't really think something like this is a good idea to be honest! |
Author
|
I sometimes (not very often too) see people asking on Discord for that. A use case I can imagine is the following: Two groups:
In the |
Member
|
Hmm, honestly I think this is better implemented by just using groups properly. Including all permissions the player has set in their contexts feels really dirty. |
Author
|
Probably |
|
Hi @Tobi406! You can provide a download link of the compiled plugin with this modification? |
Author
|
You can build it yourself, I haven't deleted the branch yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds a
permission=context.This only works for nodes the user has explicitly set and eg. not wildcard ones.