On 6/9/05, Brion Vibber brion@pobox.com wrote:
I've reworked the user_groups system, again, into something that seems to actually more or less work for now.
- user_groups ur_group is now a short string key ('sysop' etc)
I think it'd probably be better to get rid of the strings and use levels instead. Level 0 (reader), level 10 (editor), level 20 (page mover), level 30 (can protect pages) level 40 (can block) etc. It's going to be a lot more work to get this to work, but as long as it's getting reworked. Optionally another table could have mappings that are easier to understand: i.e. sysop <= 50, bureaucrat <= 100, etc for backwards compatibility.
Maybe it would be too much for getting this release ready though...