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

add option to configure permissions for each command separately #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wotnak
Copy link

@wotnak wotnak commented Jul 1, 2023

Adds separate permissions per each command.
Added permissions are declared as children of the invunload.use permission, so by default everything works the same, but there's now an option to configure permissions for each command separately instead of granting invunload.use.
New permissions:

  • invunload.unload - allows to use the /unload command
  • invunload.dump - allows to use the /dump command
  • invunload.unloadinfo - allows to use the /unloadinfo command
  • invunload.blacklist - allows to use the /blacklist command

Resolves first point from #58.

by default `invunload.use` works the same but optionally `invunload.<unload|dump|unloadinfo|blacklist>` can be set to restrict/allow access to specific command
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