Group

A Group is an entity that belongs to a Firm and to which Users in the Firm may be associated (via the GroupUser table). A Group may be assigned a set of Permissions which will be inherited by all Users that are members of the Group. See the document Permissions and Access control for more details.

Metadata

  • Base Table Class: Static
  • Default Size: Firm * Constants::MaxGroupsPerFirm = 2500

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this Group.
StatusSet of Status4
FirmForeign key to Firm8The Firm to which the Group belongs. Only Users from that Firm may be associated with the Group.
NameString48The long text identifier of this Group.
ShortNameString24The short text identifier of this Group.
PermissionGroupForeign key to PermissionGroup8(Optional) permission group that defines a base collection of permissions applied to this Group.
IndexInFirmInteger (unsigned)2
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
OwnerUserForeign key to User8The Id of the User that owns this Group.
OwnerGroupForeign key to Group8The Id of the Group that owns this Group.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this Group.
CreateUserForeign key to User8The Id of the User that created this Group.
CreateTimestampInteger (unsigned)8The time at which this Group was created.
UpdateUserForeign key to User8The Id of the User that last updated this Group.
UpdateTimestampInteger (unsigned)8The time at which this Group was last updated.

Foreign Keys

The following diagram shows the tables that have a foreign key link to the Group table. All Table nodes can be clicked to take you to that table's definition page.

graph LR;
	GroupUser-->|Group|Group
	click GroupUser "/marketgrid/developer/model/tables/GroupUser"
	Permission-->|Group|Group
	click Permission "/marketgrid/developer/model/tables/Permission"
	RFQRecipient-->|Group|Group
	click RFQRecipient "/marketgrid/developer/model/tables/RFQRecipient"