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

fix(kv): delete authorization from correct index bucket #16835

Merged
merged 3 commits into from
Feb 12, 2020
Merged

Conversation

GeorgeMac
Copy link
Contributor

@GeorgeMac GeorgeMac commented Feb 12, 2020

Closes #16833

Current Delete Authorizations action doesn't correctly remove the index from the right bucket.
This change removes the indexed key from the correct bucket.

UPDATE:

Includes a fix for user resource mapping delete. Which now correctly returns not found, when item in index that is not in source.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@GeorgeMac GeorgeMac merged commit 7349216 into master Feb 12, 2020
@GeorgeMac GeorgeMac deleted the gm/fix-delete branch February 12, 2020 18:36
GeorgeMac added a commit that referenced this pull request Feb 13, 2020
GeorgeMac added a commit that referenced this pull request Feb 13, 2020
* Revert "fix(kv): Don't stop when key not found from index."

This reverts commit bd9167d.

* Revert "fix(kv): push down org ID to skip in delete URM (#16841)"

This reverts commit a5f508d.

* Revert "fix(kv): delete authorization from correct index bucket (#16835)"

This reverts commit 7349216.

* Revert "feat(kv): Index Authorizations by User ID (#16818)"

This reverts commit df36fe9.

* Revert "feat: add indexes to urm for user lookups (#16789)"

This reverts commit 9561d0a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InfluxDB 2: Cannot find authorization by user
3 participants