flatland/lazybot — Issue #54: extend and improve the permission system
Author: Raynes
Created: 2011-12-02 01:50:59+00:00
State: open

Right now, all we can do with the permission system is declare users to be either admin or regular user. We need to expand this out and improve it so that we can have an extensible system capable of very specific permissions. This way we can have sets of permissions for users that plugins can add to and check for as well as two basic permissions:

* user: for regular users
* admin: for administrators who are trusted with the scariest commands.

The idea is that it would be possible to give certain non-admin users more dangerous and specialized permissions. For example, a plugin foo could check for its own special permission, like permission =foo=.