pjanuario commented on issue #3685:
URL: https://github.com/apache/polaris/issues/3685#issuecomment-3876957078

   This is our scaffolding logging for every knew catalog we create, i hope it 
helps:
   ```
   Creating principal role...
   Principal role 'public_catalog_reader' already exists. Skipping creation.
   Setting up catalogs...
   Creating principal X...
   Principal 'X' already exists. Skipping creation.
   Creating principal role x_role...
   Principal role 'x_role' already exists. Skipping creation.
   Principal 'X' already has 'public_catalog_reader' role. Skipping association.
   Creating landing zone for user catalog: Y...
   Creating catalog roles for Y...
   Creating catalog role catalog_owner for Y...
   Creating catalog role catalog_reader for Y...
   Skipping principal creation for Y.
   Landing zone for catalog 'Y' created successfully.
   Catalog 'Y' created successfully.
   ```
   
   At the moments we only use a few principals (5 at the moment), that's why 
you see X and x_role being skipped as they were created on previous executions, 
but the RBAC is configured so that we can specific roles per catalog.
   
   So, each: 
   * catalog have 2 roles (catalog read and catalog owner)
   * principal have the public catalog reader (means it as catalog reader on 
all catalogs) and (may multiple catalog owner)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to