Hi there!! I'm making a plugin which does nothing but add an API and a preferences section to let other plugins distinguish between different kinds of users, what normally is called "User roles". A user may belong to none, one or multiple roles. Roles may be, for example, "Administrator", "Boss", etc. After this, other plugins may use this relationships to give some special rights to some users, not all of them.
This could be used, for example, to do what now is done via config.inc.php. Can be also used for an infinity of cases: "Can add contacts to global address", "Can do a webconference", "Can define new calendars", etc.
My idea to do so is that other plugins may declare permissions (for example, "Can configure MyPlugin"). Then, the master of the installation or those who have "Change permissions" rights could assign this permission to some role(s). This idea is just copied from Drupal, but surely it is used in many more programs.
Do anybody has contributions/ideas/wishes for this plugin? Do any plugin developer see this is a good idea?
Best regards, emi _______________________________________________ List info: http://lists.roundcube.net/dev/