Default "Member" Role.#21
Open
koiboi-dev wants to merge 6 commits into
Open
Conversation
Contains all authorization except admin perms.
Members have a wide range of default perms and is auto-assigned when accepting an invite.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is meant to streamline the team creation process greatly.
Since most people wont want to modify the permissions beyond the basics, it makes the mod a lot easier to use if inviting a player immediately gives them access to the teams claims.
For this I created a "member" role, which is created alongside the default and owner roles on team creation. Any new invites are then assigned the member role, which by default gives all but administrative permissions.
These are all things that a team owner would have done when they made a new team, its just been automated now.