Difference between revisions of "Registry Software:User Groups"

(New page: [21 Dec 2008 - Randy] It is obvious that a user is a member of a group. In fact, they must be approved by a group leader in order to activate their account. A field in the 'user' and 'pa...)
(No difference)

Revision as of 19:06, 21 December 2008

[21 Dec 2008 - Randy]

It is obvious that a user is a member of a group. In fact, they must be approved by a group leader in order to activate their account.

A field in the 'user' and 'part' tables is intended to hold this group_id.

However, a user may be a member of more than one group. The list of groups a user belongs to is derived from the table ung_db.membership limited by user_id. This is represented a the group_u_list entry in the bbdb.parts table.

Usage:

  • ->group and group_id are used widely throughout the Registry software.
  • The DNA submission system and the measurement systems allow the user to specify the group name they

wish to associate with the submission from a pull-down list of their groups. (It uses the user->group as the default)

  • When basic or composite parts are created, the user is given a list of groups that should be given editing permission

this list fills group_u_list. User->group is not used by other part creation.