-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(acl): allow data deletion for non-reserved predicates #8937
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dgraph-bot
added
area/core
internal mechanisms
go
Pull requests that update Go code
labels
Aug 8, 2023
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
from
August 8, 2023 08:26
18c91a1
to
ab19652
Compare
mangalaman93
requested changes
Aug 8, 2023
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
4 times, most recently
from
August 8, 2023 11:50
27fa8a1
to
14a0c62
Compare
mangalaman93
requested review from
meghalims,
sanjayk-github-dev,
harshil-goel,
all-seeing-code,
billprovince and
joshua-goldstein
as code owners
August 8, 2023 13:16
mangalaman93
changed the title
fix(upgrade): DGRAPHCORE-355: Allow data deletion for non-internal predicates
fix(acl): allow data deletion for non-reserved predicates
Aug 8, 2023
mangalaman93
reviewed
Aug 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change LGTM. We need to wait for the CI to pass. If it does, we should a few test cases, and then this PR would be ready to be merged.
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
2 times, most recently
from
August 9, 2023 12:31
de34ea8
to
1cdaf69
Compare
mangalaman93
reviewed
Aug 9, 2023
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
from
August 9, 2023 17:40
1cdaf69
to
ca301e8
Compare
mangalaman93
previously approved these changes
Aug 10, 2023
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
5 times, most recently
from
August 10, 2023 12:14
f53ab0a
to
418b2fe
Compare
mangalaman93
requested changes
Aug 10, 2023
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
from
August 11, 2023 17:25
418b2fe
to
2c1bb46
Compare
jbhamra1
force-pushed
the
jassi/defect_dgraphcore_355
branch
from
August 12, 2023 08:10
2c1bb46
to
4ba9928
Compare
mangalaman93
approved these changes
Aug 13, 2023
harshil-goel
approved these changes
Aug 16, 2023
jbhamra1
added a commit
that referenced
this pull request
Aug 17, 2023
when data (non-reserved predicates) is added on UIDs that belong to groot user or guardian group, it is allowed. But when the same data is deleted, that is not allowed. This PR allows deletion of non-reserved predicates on special UIDs. Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-355
jbhamra1
added a commit
that referenced
this pull request
Aug 17, 2023
when data (non-reserved predicates) is added on UIDs that belong to groot user or guardian group, it is allowed. But when the same data is deleted, that is not allowed. This PR allows deletion of non-reserved predicates on special UIDs. Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-355
mangalaman93
added a commit
that referenced
this pull request
Aug 18, 2023
mangalaman93
added a commit
that referenced
this pull request
Aug 18, 2023
jbhamra1
pushed a commit
that referenced
this pull request
Aug 18, 2023
mangalaman93
pushed a commit
that referenced
this pull request
Aug 21, 2023
when data (non-reserved predicates) is added on UIDs that belong to groot user or guardian group, it is allowed. But when the same data is deleted, that is not allowed. This PR allows deletion of non-reserved predicates on special UIDs. Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-355
shivaji-kharse
pushed a commit
that referenced
this pull request
Mar 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description: when data (non-reserved predicates) is added on UIDs that belong to groot user or guardian group, it is allowed. But when the same data is deleted, that is not allowed. This PR allows deletion of non-reserved predicates on special UIDs.
Closes: https://dgraph.atlassian.net/browse/DGRAPHCORE-355
Docs: NA