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

WIP: refactor userconfig into singleton, hide commands based on permissions #48

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tmlye
Copy link
Member

@tmlye tmlye commented Feb 25, 2025

This is still WIP, my idea was to hide commands from the help based on the user's permissions. The command can still be run even if the user doesn't have the permissions but then the API would reply with 403.
In order to update the permissions in the config, I plan to add a auth refresh command.

@tmlye tmlye changed the title refactor userconfig into singleton, hide commands based on permissions WIP: refactor userconfig into singleton, hide commands based on permissions Feb 25, 2025
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