> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GRANT Catalog Permission

[Catalog permissions](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-permissions-catalog),
which allow access to & management of
[catalogs](https://docs.kinetica.com/content/sql/ddl/create-catalog.md#sql-create-catalog), can be granted directly to
[users](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-users) or
[roles](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-roles).

```sql title="GRANT Catalog Permission Syntax" theme={null}
GRANT <READ | ADMIN> [PRIVILEGES]
ON CATALOG <catalog name | *>
TO <user name | role name> [WITH GRANT OPTION]
```

| Permission | Description |
| - | - |
| `ADMIN` | Administer the given *catalog* (includes `READ` access).  Granted on all *catalogs* (`*`), allows creating, replacing & dropping *catalogs*. |
| `READ` | Query the tables in, list the contents of, and view the configuration of the given *catalog*.  Querying its tables also requires `CONNECT` access on its [data source](https://docs.kinetica.com/content/sql/security/grant-data-source-permission.md#sql-security-priv-mgmt-ds-grant). |
| `<catalog name>` | The name of the *catalog* to which access is being granted, or `*` for all *catalogs*, both now and in the future. |
| `WITH GRANT OPTION` | Grant this permission with a [grant option](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-permissions-grant-option) to grant it to others. |

## Examples

To grant read access on the *catalog* named **jdbc\_cat** to the **fed\_reader**
*user*, along with the access on the *catalog's* *data source* needed to query
its tables:

```sql GRANT Catalog Read Permission Example theme={null}
GRANT READ ON CATALOG jdbc_cat TO fed_reader
```

```sql GRANT Data Source Connect Permission Example theme={null}
GRANT CONNECT ON DATA SOURCE example.fed_ds TO fed_reader
```

To grant administrative access on the *catalog*, with the ability to grant it to
others:

```sql GRANT Catalog Administrative Permission Example theme={null}
GRANT ADMIN ON CATALOG jdbc_cat TO fed_reader WITH GRANT OPTION
```

To grant read access on all *catalogs* to the **fed\_analyst** *role*:

```sql GRANT All Catalogs Read Permission Example theme={null}
GRANT READ ON CATALOG * TO fed_analyst
```

To grant administrative access on all *catalogs*, which allows creating,
replacing & dropping *catalogs*, to the **fed\_analyst** *role*:

```sql GRANT All Catalogs Administrative Permission Example theme={null}
GRANT ADMIN ON CATALOG * TO fed_analyst
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.