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

Allow users to remove shortened URLs #1

Closed
4 tasks
mikybars opened this issue Apr 19, 2021 · 0 comments
Closed
4 tasks

Allow users to remove shortened URLs #1

mikybars opened this issue Apr 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mikybars
Copy link
Owner

Problem

Currently there is no way of editing or removing shortened URLs so that they point to a different place. Therefore users that create URLs with meaningful names (aka custom paths, e.g. migueli.to/dotfiles) are stuck with their initial choice till the end of times.

Concerns

In order to support the remove feature we actually require the notion of users first so that a given user can not remove shortened URLs created by others. In addition, provided we implement users we might as well restrict custom paths only to logged in users to prevent "URL hoarding attacks".

Tasks

  • Implement user management via Cognito.
  • Map the Cognito configuration to the Serverless framework format.
  • Implement a new Lambda function to list all the shortened URLs created by a user.
  • Implement a new Lambda function to remove a URL.
@mikybars mikybars added the enhancement New feature or request label Apr 19, 2021
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

No branches or pull requests

1 participant