Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to send access request messages via Discord #11

Merged
merged 2 commits into from
Aug 6, 2023

Conversation

vabold
Copy link
Contributor

@vabold vabold commented Aug 1, 2023

No description provided.

@vabold vabold marked this pull request as ready for review August 1, 2023 22:56
@vabold
Copy link
Contributor Author

vabold commented Aug 1, 2023

Ideally I'd still like to wait for the logo asset before merge, but it's not a blocker and that can easily be its own commit anyway.

Username string `json:"username"`
ID uint64 `json:"id"`
Username string `json:"username"`
AvatarHash string `json:"avatar"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks fine for now. I suggest putting user information in the SQLite database long term, so the JWT doesn't grow without bounds.

return
}

// TODO query ACL to ensure user account exists
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand this TODO comment ... If the username doesn't exist in the UserManager, we can just add them before authorizing.

@riptl riptl merged commit 4e1750b into mkw-re:main Aug 6, 2023
2 checks passed
@riptl
Copy link
Contributor

riptl commented Aug 6, 2023

Thank you for the contribution @vabold 🎉

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.

2 participants