Skip to content

Commit

Permalink
remove unneeded stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 committed Sep 14, 2023
1 parent 162ffe9 commit 96917fb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public CompletableFuture<String> get(DataFetchingEnvironment environment) throws
final Urn parentDomain = input.getParentDomain() != null ? UrnUtils.getUrn(input.getParentDomain()) : null;

return CompletableFuture.supplyAsync(() -> {
// todo - implement parentDomain permissions
if (!AuthorizationUtils.canCreateDomains(context)) {
throw new AuthorizationException("Unauthorized to perform this action. Please contact your DataHub administrator.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const ManagePolicies = () => {
variables: {
input: {
start,
count: pageSize + 10,
count: pageSize,
query,
},
},
Expand Down
12 changes: 12 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


0 comments on commit 96917fb

Please sign in to comment.