parent accounts, groups, and classes

David Merrill dmerrill@lupercalia.net
Thu, 21 Dec 2000 14:59:27 -0500


In light of the discussions we have been having over whether the
account group mechanism should be strictly hierarchical or whether an
account should be allowed to exist within more than one group, I am
considering providing both capabilities in the database.

First, the group table would define groups. Each group would
contain arbitrary accounts, and accounts can belong to more than one
group via a third table, account_group.

Second, the class table would define classes. Each class would contain
arbitrary accounts, but an account can belong to one and only one
class. Possibly, every account must belong to one class or another.

These are implemented independently of the GUI, so the GUI can make
use of either or both of these mechanisms as it sees fit. It is easy
enough for me to do both rather than choose one.

Regarding the parent account mechanism, can someone please explain to
me what this does for us that the account group mechanism above
doesn't? Are we actually using the account "tree" that it results in,
or just using it as another way to group accounts, where the top level
account is a dummy account?

-- 
Dr. David C. Merrill                     http://www.lupercalia.net
Linux Documentation Project                dmerrill@lupercalia.net
Collection Editor & Coordinator            http://www.linuxdoc.org
                                       Finger me for my public key

We turn the wheel to welcome her
	Every breath is sacred
Opening, we welcome her
	Every breath is sacred
As we walk this ancient path
	Every breath is sacred
We are stronger than we know
	Every breath is sacred
		-- The Midwife's Song, Calla Unsworth