Grant access

Grant a role on an account, a table or a column, and narrow broad grants where needed.

Grant access

A role granted on a resource applies to that resource and everything in it. Grant broadly, then narrow:

  • Give most people a role on the account, such as Data reader or Dashboard viewer.
  • Grant on a table or a column only for people who should see nothing else.
  • Take away specific tables or columns from a broad grant with an exception on that grant, or with a deny in a custom role (restrict a table).
Grant onReachesBuilt-in roles granted there
AccountEvery table, column, dashboard, alert and other resource of the accountEvery account role, such as Data reader, Data writer, Dashboard editor (roles)
TableThe table and its columns. A table can be named before it existsData reader, Data writer
ColumnOne columnColumn reader

Logship has no level between account and table; a table is what queries call a schema. Other resources, such as a single dashboard or service account, take relationships or custom roles (share a single item).

Steps

  1. Open Settings → Account → Access and select Grant access. To grant on one table, open Settings → Account → Tables, select the table, and use Grant access on the Role grants tab of its Access section; set Applies to to a column to grant on that column only.
  2. Under Users, groups or service accounts, pick who gets the role. Agents can be picked too.
  3. When granting from the Access tab, choose the Resource type (Account, Table, Column, ...) and name the table or column.
  4. Pick a Role. Only roles that can be granted on that resource type are offered.
  5. Optionally set Condition to Until a date or During a time window (time-bound grants), and add exceptions under Advanced: exceptions.
  6. Select Grant. For a privileged role, tick I understand this grants privileged access.

You can only grant what you hold where the grant takes effect, unless you administer the account's access; the dialog lists what you are missing (who may grant what).

Example: analysts read everything except payroll

  1. Grant the group analysts Data reader on the account.
  2. Edit the grant (Edit condition and exceptions), open Advanced: exceptions, select Add deny, choose table.read under Denied permissions, and set Condition to resource.Name == "payroll".
  3. Select Save.

Members of analysts read every table except payroll, including tables created later. The exception narrows this grant only: a member who also holds another grant reaching payroll still reads it. Check one member with Explain access.