Top => groups   Groups

Categories: Groups 

Notes:  We query groups whenever we need to test access of a specific userid to a specific group, or (in reverse) for the precise membership of a specific group.

Note that all userid wildcard rules from grouprules get expanded into one row in groups per userid that matches the wildcard! Thus for many reasons, changing a group is expensive, but checking access (or membership) is very fast.

Name Type Index Null? Default
userid varchar(240) I NULL userid affected by this entry
owner varchar(240) I NULL identifies group (see grouprules)
name varchar(240) I NULL identifies group
access int(11) I '0' access level
active tinyint(4) I '0' 1 => real rule; 0 => rule being rebuilt; 3 => about to become a real rule
priority int(11) '0'