grp_priv_link
- Last UpdatedNov 20, 2024
- 1 minute read
The grp_priv_link table assigns privileges to groups by defining a many-to-many relationship between them.
Privileges may have a Yes or No (1 or 0) range of values, or assigned any value up to the maximum allowed for that particular privilege as defined in the priv table.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
grp_id |
int32 |
Y |
N |
Group ID |
|
priv_id |
int32 |
Y |
N |
Privilege ID |
|
priv_value |
int32 |
N |
N |
0 = No (the default) 1 = Yes for Boolean privileges |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed |
|
last_edit_by |
string40 |
N |
Y |
Who last changed this record |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail |
FK from grp_id to grp_name. (Cascade delete)
FK from priv_id to priv. (Cascade delete)