Defining PostgreSQL Table Permissions

The following properties are applicable to a PostgreSQL Table Permission.

Tab

Property

Description

Additional Information

 

Name

Specifies the name of the permission. Set the name of the permission in this field.

 

 

With Grant

Specifies whether the user can grant this permission to other users or not.

 

 

Generate

Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.

 

General

 

Owner

Specifies the owner of the permission. Select a role from the drop-down list or click New icon in property editors to create a new object to open the PostgeSQL Role Editor and create one.

 

Permission

Specifies the type of privilege against the selected owner and permission.

Select: Grants permission to read data from a table or view.

Insert: Grants permission to insert new rows into a table or view.

Update: Grants permission to modify existing rows in a table or view.

Delete: Grants permission to remove rows from a table or view.

Truncate: Grants permission to truncate a table, which quickly removes all rows from a table or view

References: Grants permission to create foreign keys that reference columns in the table or foreign key constraints that reference columns in the view

Trigger: Grants permission to create triggers on the table or view

All: Grants all available permissions for the table or view

  1. (Optional) Click the Comment tab and enter any comments you want to associate with the object.
  2. (Optional) Click the Where Used tab to view where the object is used within the model.
  3. (Optional) Click the UDP tab to work with user-defined properties for the object.
  4. (Optional) Click the Notes tab to view and edit user notes.
  5. (Optional) Click the Extended Notes tab to view or edit user notes.
  6. Click Close.

    The permission is defined, and the PostgreSQL Permission Editor closes.

For more information, refer to PostgreSQL documentation.