roryqi commented on code in PR #14766:
URL: https://github.com/apache/gravitino/pull/14766#discussion_r4511494257
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/server/web/filter/IcebergMetadataAuthorizationMethodInterceptor.java:
##########
@@ -99,6 +108,10 @@ protected Map<Entity.EntityType, NameIdentifier>
extractNameIdentifierFromParame
StringUtils.isBlank(value) || value.endsWith("/")
? IcebergRESTUtils.getCatalogName(value)
: value;
+ if (catalog.contains(".")) {
Review Comment:
Addressed in ebbe10c985.
Yes. CatalogNormalizeDispatcher enforces `^\w[\w-]{0,63}$` on create and
rename, and testNameSpec already rejects `catalog.xxx`. Added a rename
regression and documented that relationship beside the REST check.
--
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]