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: issue and revoke validation #146

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

superical
Copy link
Contributor

Summary

When revoking, check that the document belongs to a batch first. When issuing, check that a document hasn't been issued yet.

Changes

  • Validate document not issued yet in issue
  • Validate document belongs to a batch in revoke
  • Add isActive for users to check if a document is currently issued and not revoked yet

Releases

Channels: beta

(cherry picked from commit b198306ac8da250fc7e8f3738700782be0fce54e)
(cherry picked from commit d60d623d9f2e316a01cdefb3c7502706a1a07b7e)
@superical superical merged commit 66d02ce into feat/init-v4 Mar 5, 2024
3 of 5 checks passed
@superical superical deleted the feat/issue-revoke-validation branch March 5, 2024 18:00
superical added a commit that referenced this pull request Mar 7, 2024
* feat: issuance and revocation check

* refactor: issuance and revocation check
@superical superical mentioned this pull request Apr 2, 2024
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.

1 participant