Bishbash777 / SEDB-RELOADED

MIT License
8 stars 13 forks source link

Fix permission checks to work with more then one user #61

Open Nevcairiel opened 7 months ago

Nevcairiel commented 7 months ago

Previously, the permissions would check if any condition failed, rather then checking if any condition succeeded. This made it practically impossible to setup fine-grained permissions per-user or per-command.

Now, the check will succeed if any permission entry matches, either for a role or a user id, as well as the command.