habari/habari — Issue #269: 'admin' group is stored localized.
Author: mikelietz
Created: 2011-12-23 20:41:45+00:00
State: open

I installed with 'es' for locale. My administrative group is 'administrador'. I was looking for the 'admin' group with the simplecategories plugin (https://github.com/habari-extras/simplecategories/blob/master/simplecategories.plugin.php#L38) and could not find it.

Should this group name be always 'admin' in the database and just displayed sometimes as 'administrador'?

or

Should there be a Group::admin() function similar to User::anonymous()? https://github.com/habari/system/blob/master/classes/user.php#L67

or

Should there be a constant value for the admin group similar to the anonymous userid always being 0?