GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

HGBot: IRC Access Command

completed by: kinshukk

mentors: Jon Neal, Arc Riley, Terri Oda, David Czech, AJ Williams, Amaury Medeiros

HGBot is a Python program that automates our Mercurial repository management, handles Mercurial authentication, and provides user interfaces such as IRC.

A previous GCI 2014 task added access levels for Contributor, Developer, and Administrator. Now, we need an ACCESS command to promote (and demote) other users so this can be managed on IRC.

Users should only be able to promote (or demote) lower level users, and only promote them to their current level. So, a Developer can promote a Contributor to become a Developer, but may not promote anyone to Administrator nor may they demote another Developer or Administrator. An Administrator can promote anyone up to Developer or Administrator, and demote anyone but another Administrator.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.