Merge pull request #39 from open-metadata/allow_users

allow user permissions if no owner is associated
This commit is contained in:
Suresh Srinivas 2021-08-03 10:56:01 -07:00 committed by GitHub
commit adfafc1600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);