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

[Multi-Tenant] Wallet address prefixes #3278

Open
2 tasks
mkurapov opened this issue Feb 7, 2025 · 0 comments
Open
2 tasks

[Multi-Tenant] Wallet address prefixes #3278

mkurapov opened this issue Feb 7, 2025 · 0 comments
Assignees

Comments

@mkurapov
Copy link
Contributor

mkurapov commented Feb 7, 2025

Context

Each tenant should have a setting for which wallet address prefix they are allowed to use. For example, in the context of JOPACC, an example would be:

Bank 1 (Tenant 1):
Prefix/range: https://jopacc.com/arabbank/
https://jopacc.com/arabbank/<user>

Bank 2 (Tenant 2):
Prefix/range: https://jopacc.com/abcbank/
https://jopacc.com/abcbank/<user>

If a tenant tries to create a wallet address with the incorrect "prefix" or "range", then we should throw an error.
We should store this prefix/range in the tenant settings.

During wallet address creation, we should check whether the non-operator tenant is trying to create a wallet address with the correct URL. Be wary of slashes.

Todos

  • Allow configuring a wallet address prefix or range via tenant settings
  • Check the wallet address prefix during wallet address creation
@github-project-automation github-project-automation bot moved this to Backlog in Rafiki Feb 7, 2025
@mkurapov mkurapov changed the title Wallet address ranges [Multi-Tenant] Wallet address ranges Feb 7, 2025
@mkurapov mkurapov changed the title [Multi-Tenant] Wallet address ranges [Multi-Tenant] Wallet address prefixes Feb 7, 2025
@mkurapov mkurapov moved this from Backlog to Todo in Rafiki Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants