Skip to content

make v25 APIs work with no ACL#9408

Merged
mangalaman93 merged 1 commit intomainfrom
aman/ns-no-acl
May 13, 2025
Merged

make v25 APIs work with no ACL#9408
mangalaman93 merged 1 commit intomainfrom
aman/ns-no-acl

Conversation

@mangalaman93
Copy link
Copy Markdown
Contributor

No description provided.

@mangalaman93 mangalaman93 requested review from a team and Copilot 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
Copy Markdown

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.

Comment thread x/acl_enc_keys.go
@trunk-io
Copy link
Copy Markdown

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