fedora-infra / maubot-pretix-invite

A maubot plugin for inviting event participants from the pretix ticketing platform into a matrix room
MIT License
2 stars 0 forks source link

Change permissions system to one based on matrix power levels #9

Open MoralCode opened 2 weeks ago

MoralCode commented 2 weeks ago

Currently the bot configuration contains an allowlist of matrix IDs that are allowed to issue commands. This doesn't really scale well when an instance of the bot is shared across multiple events, so a better system may be to have the bot check each users power level when deciding if it should allow them to run commands. Then a minimum power level can be set in the config instead of an allowlist