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: fix grant revoke for deleted resource into guardian. #327

Closed
wants to merge 1 commit into from

Conversation

singhvikash11
Copy link
Member

@singhvikash11 singhvikash11 commented Nov 16, 2022

fix: #299

@vercel
Copy link

vercel bot commented Nov 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
guardian ✅ Ready (Inspect) Visit Preview Nov 16, 2022 at 11:22AM (UTC)

@coveralls
Copy link

coveralls commented Nov 16, 2022

Pull Request Test Coverage Report for Build 3478874498

  • 0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 74.862%

Changes Missing Coverage Covered Lines Changed/Added Lines %
core/grant/service.go 0 7 0.0%
Totals Coverage Status
Change from base Build 3476997011: -0.02%
Covered Lines: 6108
Relevant Lines: 8159

💛 - Coveralls

Comment on lines +1 to +7
UPDATE
"grants"
SET
"status_in_provider" = "status"
WHERE
"source" = 'appeal'
AND "status_in_provider" != "status"
Copy link
Member

Choose a reason for hiding this comment

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

if I assume it correctly this is for fixing the previously wrong-assigned data(?) If so, can we not do it through app migration but run this SQL fix in our running db instances directly?

@ravisuhag ravisuhag closed this Jun 14, 2023
@ravisuhag ravisuhag deleted the fix_deleted_resource_revoke branch June 14, 2023 04:24
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.

Appeal revoke on deleted resources is not working
4 participants