8000 make v25 APIs work with no ACL by mangalaman93 · Pull Request #9408 · hypermodeinc/dgraph · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

make v25 APIs work with no ACL #9408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged

make v25 APIs work with no ACL #9408

merged 1 commit into from
May 13, 2025

Conversation

mangalaman93
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 13, 2025 15:10
@mangalaman93 mangalaman93 requested a review from a team as a code owner May 13, 2025 15:10
@github-actions github-actions bot added area/testing Testing related issues area/core internal mechanisms go Pull requests that update Go code labels May 13, 2025
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the APIs to work with no ACL by modifying error messages and function signatures to remove outdated ACL-related parameters.

  • Updates error message ordering for ACL key length validation.
  • Adjusts the createGuardianAndGroot function calls to match its new signature.
  • Adds an integration test to ensure the v25 API operates correctly without ACL enforcement.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
x/acl_enc_keys.go Revised error message parameters for ACL key length validation.
edgraph/ns_query_no_acl_test.go Added integration tests to verify namespace operations without ACL.
edgraph/multi_tenancy.go Updated createGuardianAndGroot function call to remove unused arg.
edgraph/alter.go Aligned createGuardianAndGroot invocation with its updated signature.

Copy link
trunk-io bot commented May 13, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@mangalaman93 mangalaman93 enabled auto-merge (squash) May 13, 2025 16:51
@mangalaman93 mangalaman93 merged commit 0a99f61 into main May 13, 2025
13 checks passed
@mangalaman93 mangalaman93 deleted the aman/ns-no-acl branch May 13, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core internal mechanisms area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

2 participants
0