mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-15 04:26:59 +00:00
Merge pull request #39 from open-metadata/allow_users
allow user permissions if no owner is associated
This commit is contained in:
commit
adfafc1600
@ -132,7 +132,7 @@ public class DefaultCatalogAuthorizer implements CatalogAuthorizer {
|
|||||||
validateAuthenticationContext(ctx);
|
validateAuthenticationContext(ctx);
|
||||||
// To encourage users to claim or update changes to tables when a non-owner or un-claimed datasets.
|
// To encourage users to claim or update changes to tables when a non-owner or un-claimed datasets.
|
||||||
if (owner == null) {
|
if (owner == null) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
String userName = SecurityUtil.getUserName(ctx);
|
String userName = SecurityUtil.getUserName(ctx);
|
||||||
EntityUtil.Fields fields = new EntityUtil.Fields(FIELD_LIST, fieldsParam);
|
EntityUtil.Fields fields = new EntityUtil.Fields(FIELD_LIST, fieldsParam);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user