[feat] Role Preserve: Ignored/Blacklisted Roles (not complete)#59
Open
ktwrd wants to merge 60 commits into
Open
[feat] Role Preserve: Ignored/Blacklisted Roles (not complete)#59ktwrd wants to merge 60 commits into
ktwrd wants to merge 60 commits into
Conversation
…ist & implemented embed generator for listing blacklisted roles
…fication and modularize some parts of it
…ClientOnUserJoined
… enable/disable, and blacklist add/remove)
…mands/interactions
…ement GuildRoleCache
Yes I know that the new auth method looks weird in the RolePreserve area, but it works: - Left window is logged in as server owner. - Top right window is private mode (not logged in) - Bottom right window is logged in as a user without the Manage Server permission 
…erve area Similar to what's currently in the server settings page, but it is it's own page to setup logging, enable/disable state, and blacklist.
…reserve Audit Controller
… add/remove blacklisted roles
…ildRoleCacheModel in GuildCacheRepository
…n GuildCacheRepository
…(UI not added yet)
…itch to tab when saving settings
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.
New feature for Role Preservation to ignore/blacklist roles from being given to users when they re-join. Useful if you have a server that required users to raise a ticket to be let in, and have a manual approval process.
DB Layer and Application Commands are complete. Just finishing up the UI for the settings (which is currently being rewritten)
I've also added an auditing feature to Role Preservation, so it's audited if anything went wrong with granting a users roles back, and what roles were granted back. This auditing also includes when a staff/mod updates the Role Preservation configuration.