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

Re-definition of permission system #4

Closed
zneix opened this issue Dec 16, 2019 · 1 comment
Closed

Re-definition of permission system #4

zneix opened this issue Dec 16, 2019 · 1 comment

Comments

@zneix
Copy link
Owner

zneix commented Dec 16, 2019

  • review of current superusers (make possible changes)
  • guild_perm should use boolean OR instead of AND
  • per-guild permission levels (that includes defining guild bot admin and guild bot mod role with ability to change that with config command)
  • re-defiition of global bot admin/mod permissions
@zneix zneix created this issue from a note in MongoDB connection features (Being Implemented) Dec 16, 2019
@zneix
Copy link
Owner Author

zneix commented Dec 16, 2019

  1. TBD
  2. Done
  3. Only guild mod role is defined for now, might implement admin later. Config command supports changes.
  4. Command permission level is now an array at 100% of times. That is presented in a following format:
  • Global permissions requirement (or false if not required)
  • Guild-based role requirements (or false if not required), ADMINISTRATOR permission can override those.
  • Optional Discord permissions to check (like KICK_MEMBERS in kick command)

@zneix zneix closed this as completed Dec 16, 2019
Repository owner locked as resolved and limited conversation to collaborators Dec 16, 2019
@zneix zneix moved this from Being Implemented to Implemented features in MongoDB connection features Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
MongoDB connection features
  
Implemented features
Development

No branches or pull requests

1 participant