Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented May 5, 2025

No description provided.

@github-actions github-actions bot added docs Issues and Improvements to docs product PR or Issue related to the DataHub UI/UX devops PR or Issue related to DataHub backend & deployment community-contribution PR or Issue raised by member(s) of DataHub Community labels May 5, 2025
@ghost ghost force-pushed the iceberg-namespace-permissions branch from d4f850e to 2ed08e4 Compare May 5, 2025 14:20
@ghost ghost force-pushed the iceberg-namespace-permissions branch from 9edf2b8 to 239a4b9 Compare May 8, 2025 07:31
@ghost ghost force-pushed the iceberg-namespace-permissions branch from 239a4b9 to e9e7a30 Compare May 8, 2025 14:08
@ghost ghost marked this pull request as ready for review May 13, 2025 07:47
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label May 13, 2025
Copy link
Collaborator

@chakru-r chakru-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two optimizations that could be done if feasible.

I did not review the front end code, someone with that expertise should review it

warehouse,
renameTableRequest.destination().namespace(),
DataOperation.MANAGE_TABLES,
false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion -- an exception that reports both privileges missing may be more useful if the user intends to fix it by adding the missing privileges. This may cause them to see one error at a time, the the second one will show up only after the first privilege is fixed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chakru-r incorporated this, could you please review?

@ghost ghost force-pushed the iceberg-namespace-permissions branch from 63fa3b9 to 6a8000d Compare May 21, 2025 10:50
@ghost ghost force-pushed the iceberg-namespace-permissions branch from a6f473e to 6a8000d Compare May 21, 2025 11:45
Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the UI work here looks solid, no real concerns about that.

however, I want to make sure we've run this by the whole team since this is a pretty big change and could lead to some performance concerns.

also, right now we're just checking the direct container on the entity itself, but I think we should probably be consistent with domains and check parent containers of containers to see if a user has permission to do something

@chakru-r chakru-r merged commit ee5d1e5 into datahub-project:master Jun 2, 2025
40 of 44 checks passed
kartikey-visa pushed a commit to kartikey-visa/datahub that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution PR or Issue raised by member(s) of DataHub Community devops PR or Issue related to DataHub backend & deployment docs Issues and Improvements to docs merge-pending-ci A PR that has passed review and should be merged once CI is green. product PR or Issue related to the DataHub UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants