Skip to content

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

Draft
tmlye wants to merge 1 commit intomainfrom
hide-commands
Draft

WIP: refactor userconfig into singleton, hide commands based on permissions#48
tmlye wants to merge 1 commit intomainfrom
hide-commands

Conversation

@tmlye
Copy link
Contributor

@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