project_view

0 rows


Description

Allow to filter the access on projects and relative data (indicators, observations, etc.) with a spatial object for a given list of user groups

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('gobs.project_view_id_seq'::regclass)

Unique identifier

pv_label text 2147483647 null

Label of the project view

fk_id_project int4 10 null
project.id project_view_fk_id_project_fkeyC

Project id (foreign key)

pv_groups text 2147483647 null

List of user groups allowed to see observation data inside this project view spatial layer object. Use a coma separated value. Ex: “group_a, group_b”

fk_id_spatial_layer int4 10 null
spatial_layer.id project_view_fk_id_spatial_layer_fkeyN

Spatial layer id (foreign key)

fk_so_unique_id text 2147483647 null

Spatial object unique id (foreign key). Ex: AB1234. This references the object unique code, not the object integer id field

Indexes

Constraint Name Type Sort Column(s)
project_view_pkey Primary key Asc id
project_view_fk_id_project_fk_id_spatial_layer_fk_so_unique_key Must be unique Asc/Asc/Asc fk_id_project + fk_id_spatial_layer + fk_so_unique_id

Relationships