mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-15 20:16:52 +00:00
Fix ACE model missing license (#1023)
This commit is contained in:
parent
2ceb0a086e
commit
2ce34407c3
@ -1,3 +1,16 @@
|
||||
/**
|
||||
* Copyright 2015 LinkedIn Corp. All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -35,6 +35,7 @@ import wherehows.dao.table.DictDatasetDao;
|
||||
import wherehows.dao.view.DataTypesViewDao;
|
||||
import wherehows.dao.view.DatasetViewDao;
|
||||
import wherehows.dao.view.OwnerViewDao;
|
||||
import wherehows.models.table.AccessControlEntry;
|
||||
import wherehows.models.view.DatasetCompliance;
|
||||
import wherehows.models.view.DatasetOwner;
|
||||
import wherehows.models.view.DatasetOwnership;
|
||||
@ -326,7 +327,7 @@ public class Dataset extends Controller {
|
||||
}
|
||||
|
||||
public static Promise<Result> getDatasetAcls(@Nonnull String datasetUrn) {
|
||||
final List<?> acls;
|
||||
final List<AccessControlEntry> acls;
|
||||
try {
|
||||
acls = ACL_DAO.getDatasetAcls(datasetUrn);
|
||||
} catch (Exception e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user