Forum OpenACS Development: Re: group_types: why not referenced in groups

Posted by Don Baccus on
I've found it useful to get what group types a user is in. I usally do that when the regular permission system would be too slow. If I know the user is in a group with admin permission then I don't need to check every record. That query is not all that fast either.

Is this still true with the new permissions code, especially since you say the group membership query's not particularly fast either? Checking permissions is more flexible, among other things if you inherit from parent packages normally the sitewide admin will always be able to admin things without being explicitly added to your various admin groups which most of us would consider a Almost Always A Good Thing.