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

Moderation: Rename mjolnir bot to "moderator" and make it a homeserver admin #81

Open
kewisch opened this issue Oct 19, 2023 · 4 comments

Comments

@kewisch
Copy link
Contributor

kewisch commented Oct 19, 2023

Enhancement Proposal

moderator is more approachable in naming.

Also make sure mjolnir is a homeserver admin so it can make itself admin on channels.

@kewisch kewisch changed the title Rename mjolnir bot to "moderator" and make it a homeserver admin Moderation: Rename mjolnir bot to "moderator" and make it a homeserver admin Oct 19, 2023
@amandahla amandahla mentioned this issue Oct 27, 2023
6 tasks
@amandahla
Copy link
Collaborator

@kewisch Please could you give more details about it? The mjolnir user is already an admin.

@kewisch
Copy link
Contributor Author

kewisch commented Oct 27, 2023

The mxid for Mozilla's mjolnir is @moderator:mozilla.org and the display name is moderator. Our bot is @mjolnir:ubuntu.com and is named mjolnir.

Running !mjolnir make admin causes the message Either the command is disabled or I am not running as homeserver administrator. from mjolnir. I'll invite you to the test room.

@amandahla
Copy link
Collaborator

This issue was fixed but it seems that the problem is that Mjolnir configuration miss a "enableMakeRoomAdminCommand" item to be set to True. I only found out reference for this by checking the code
https://github.com/matrix-org/mjolnir/blob/main/src/commands/MakeRoomAdminCommand.ts#L23

@amandahla
Copy link
Collaborator

Please confirm if the requirement is to make Mjolnir able to make users a Room admin then we can add this configuration here
https://github.com/canonical/synapse-operator/blob/main/src/synapse/workload.py#L328

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

No branches or pull requests

2 participants