Skip to content

Conversation

Nydauron
Copy link
Member

@Nydauron Nydauron commented Aug 28, 2025

Description

Allows for users' roles to be saved upon user leave and then restored upon user rejoin.

Please note that this feature is intended to only restore non-publicly assignable roles (i.e. roles that cannot be assigned via the onboarding survey). Some examples of roles that are non-publicly assignable include but are not limited to Exalted, Automation Development Subgroup, Muted, and Quarantine.

Currently, these roles are hard-coded into a list. Ideally, this list should be able to be changed during runtime, so consideration of making it its own database table is not out of the question.

Checks

  • I ran black over the code to ensure formatting.
  • I added docstrings to any new modules, classes, and methods.
  • I updated the docstrings of any updated modules, classes, and methods.
  • I added/updated Python typings for any new/updated class and module.
  • I updated the bot version (if necessary).
  • I ran mypy and reviewed any shown errors related to my changes.

Important Info

  • This pull request adds new pip dependencies.
  • This pull request adds new external dependencies.
  • This pull request changes the required versions of some dependencies.

Issues Closed

My pull request closes the following issues:
N/A

Thank You

Thank you for your contribution to Scioly.org! This pull request will be reviewed
in a promptly manner. If not done, please feel free to contact @cbrxyz.

@Nydauron Nydauron marked this pull request as ready for review September 15, 2025 03:47
Copy link
Member Author

@Nydauron Nydauron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Nydauron Nydauron merged commit b5d413b into master Sep 15, 2025
2 checks passed
@Nydauron Nydauron deleted the feat/role-restore branch September 15, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant