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: forbid ds owner from subscriptions and consumer management calls #125

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

rafael-ab
Copy link
Collaborator

Summary

Motivation:
Dataset owner was able to subscribe and interact with consumers feature, we want to prevent that the dataset owner interact with these feature on smart contract level

  • Forbid dataset owner from calling subscribe, subscribeAndAddConsumers, extendSubscription, extendSubscriptionAndAddConsumers, addConsumers, replaceConsumers, removeConsumers
  • isSubscriptionPaidFor will return true if consumer is the dataset owner

@rafael-ab rafael-ab requested review from pash7ka and galimba April 23, 2024 20:45
@rafael-ab rafael-ab self-assigned this Apr 23, 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