How do we use a "Defaults" data partition constraint to set a group?

Document ID : KB000054588
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document will show the appropriate way to set a group using a "Defaults" data partition constraint.

Solution:

  1. First, identify the UUID for the group that needs to defaulted to
    Say if LOL is the group use the pdm_extract command to extract the UUID:
    Ex: pdm_extract -f "select id from ca_contact where last_name='lol'"
    TABLE ca_contact
    id
    { "4D464477887ADE409F6C8EFDD28620F3" }
    ca_contact
    rows:1
  2. Login as administrator user
  3. Go to Administration-> Security->Data Partition.
  4. Click new constraint with following details with following value also refer figure 1.
    Table: Issue
    Type: Default
    Const: group=U'4D464477887ADE409F6C8EFDD28620F3'

Figure 1:
Figure 1