09-21-2024 12:54 AM
09-21-2024 02:00 AM
You could bind the catalog to specific workspaces, making them accessbile only from workspaces they are bound to.
https://docs.databricks.com/en/catalogs/binding.html
In your example:
if `my_catalog_2` is bound to `my_workspace_2` a user in `my_workspace_1` will not be able to access or modify objects in `my_catalog_2` even if they have permissions to do so in Unity Catalog.
09-22-2024 12:13 AM
Hello, thanks for your response.
Indeed, I had already considered that part. My problem is that I cannot grant privileges to `my_catalog_2` (which is associated with `my_workspace_2`) to a group at the workspace level.
In other words, I want all users in the "data_engineers" group of `my_workspace_2` to have `ALL_PRIVILEGES` on all schemas of `my_catalogo_2`.
09-22-2024 01:02 AM
Hi @jmsimonramos1,
GRANT ALL PRIVILEGES ON CATALOG my_catalog_1 to `data_access_1`;
GRANT ALL PRIVILEGES ON CATALOG my_catalog_2 to `data_access_2`;
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now