Skip to content
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

feat: Enable sec. indexes with ACP #2602

Merged

Conversation

islamaliev
Copy link
Contributor

@islamaliev islamaliev commented May 8, 2024

Relevant issue(s)

Resolves #2365

Description

Enable secondary indexes with ACP.

@islamaliev islamaliev added area/testing Related to any test or testing suite area/acp Related to the acp (access control) system labels May 8, 2024
@islamaliev islamaliev added this to the DefraDB v0.12 milestone May 8, 2024
@islamaliev islamaliev requested a review from a team May 8, 2024 22:21
@islamaliev islamaliev self-assigned this May 8, 2024
@islamaliev islamaliev changed the title test: add tests for sec. indexes with ACP feat: Enable sec. indexes with ACP May 8, 2024
Copy link
Collaborator

@fredcarle fredcarle left a comment

Choose a reason for hiding this comment

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

LGTM. I was surprised to see that it already works and all you had to do was allow the creation of the index. 👍

testUtils.AddPolicy{
Identity: acpUtils.Actor1Identity,
Policy: userPolicy,
ExpectedPolicyID: "53980e762616fcffbe76307995895e862f87ef3f21d509325d1dc772a770b001",
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: It would be nice to add the policy ID above the policy definition as a comment for future reference. Like if someone what's to use it elsewhere it would be easy for them to quickly grab it.

@islamaliev islamaliev merged commit a3d035b into sourcenetwork:develop May 9, 2024
27 of 28 checks passed
shahzadlone pushed a commit that referenced this pull request May 14, 2024
## Relevant issue(s)

Resolves #2365

## Description

Enable secondary indexes with ACP.
@fredcarle fredcarle added the feature New feature or request label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/acp Related to the acp (access control) system area/testing Related to any test or testing suite feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACP - Secondary Indexes
2 participants