Reviving an old (but good) thread...
Andrew: I'm wondering the same thing i.e. why does the permission_p
function check the group and rel segment perms before the direct perms. Shouldn't the checks (from first to last: group, relseg, direct, public, public-like) be ordered from most common to least common?