allow user permissions if no owner is associated

This commit is contained in:
Suresh Srinivas 2021-08-03 10:44:03 -07:00
parent 4cfe6a419a
commit a39e06d1be

View File

@ -132,7 +132,7 @@ public class DefaultCatalogAuthorizer implements CatalogAuthorizer {
validateAuthenticationContext(ctx);
// To encourage users to claim or update changes to tables when a non-owner or un-claimed datasets.
if (owner == null) {
return false;
return true;
}
String userName = SecurityUtil.getUserName(ctx);
EntityUtil.Fields fields = new EntityUtil.Fields(FIELD_LIST, fieldsParam);