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

Add aliases per user #21

Closed
pcarranza opened this issue Feb 7, 2018 · 7 comments
Closed

Add aliases per user #21

pcarranza opened this issue Feb 7, 2018 · 7 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects

Comments

@pcarranza
Copy link
Collaborator

No description provided.

@pcarranza
Copy link
Collaborator Author

cc/ @omame

@pcarranza pcarranza added this to To do in Version 0.1 Feb 7, 2018
@omame omame self-assigned this Feb 7, 2018
@pcarranza pcarranza added enhancement New feature or request help wanted Extra attention is needed labels Feb 8, 2018
@omame
Copy link

omame commented Feb 10, 2018

I'm thinking of creating a new bolt bucket for users and then a sub-bucket for aliases. The reason for this is that we'll probably use this for storing other user-related things: it's better to structure this out for scaling now than paying a high tax later. We could even move the tokens here if we want to.

@pcarranza
Copy link
Collaborator Author

tokens are tricky because we need to find them by token ID. if we would like to do that we will need to have some form of index. let's not focus on that now.

@pcarranza
Copy link
Collaborator Author

so, this will be like aliases/username/alias ?

@omame
Copy link

omame commented Feb 10, 2018

I was more thinking about users/aliases/alias and then filter based on the username.

@pcarranza
Copy link
Collaborator Author

so, a static bucket for the first level, then the username (which is variable), then inside it a bucket for the aliases? or do you want a first level bucket with the username?

@pcarranza pcarranza moved this from To do to In progress in Version 0.1 Feb 11, 2018
@omame omame mentioned this issue Feb 11, 2018
@omame
Copy link

omame commented Feb 11, 2018

In #31 I've implemented this with aliases/<user id>/<alias>.

@omame omame moved this from In progress to Done in Version 0.1 Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
No open projects
Version 0.1
  
Done
Development

No branches or pull requests

2 participants