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

Propose a tentant #216

Closed
ilhanu opened this issue Nov 23, 2022 · 1 comment · Fixed by #218
Closed

Propose a tentant #216

ilhanu opened this issue Nov 23, 2022 · 1 comment · Fixed by #218
Assignees
Labels
enhancement New feature or request

Comments

@ilhanu
Copy link
Member

ilhanu commented Nov 23, 2022

One thing that is still outstanding is the representative role actions.

We have defined in M4 grant application that the representative is able to propose/match a tentant. In M5 we will build a pool for the tentants to register, currently we will shortcut this by using a dummy tentant object either in the genesis-config or when the chain is running.

Both the representative and the tenant roles are defined here:

  1. We want the feature that the representative is allowed to propose a democracy proposal to the owners of an asset, linking to only the tentant. This will be notified to the owners that are able to vote on it. This ties in with asset_management tests #215 that is in the works right now.
  2. If the vote is successful we want to store in the asset-id the new tenants accountId that it is the accepted current Tenant.

Further logic about payment streams and logic of the tentant matching is addressed in M5.

@ilhanu ilhanu added the enhancement New feature or request label Nov 23, 2022
@ilhanu ilhanu added this to the M4 milestone Nov 23, 2022
@cuteolaf cuteolaf linked a pull request Nov 24, 2022 that will close this issue
@cuteolaf
Copy link
Member

cuteolaf commented Nov 25, 2022

EDGE CASES

  • Someone without the REPRESENTATIVE role proposes a tenant
  • Propose a tenant for an invalid asset
  • A representative proposes a tenant for an asset that is not under control of him/her.
  • A representative proposes someone without the TENANT role
  • A representative proposes a tenant who is already linked with an asset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants