Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Revoke & Expire TCX URLs #14

Closed
rootelement opened this issue Sep 5, 2019 · 3 comments
Closed

Revoke & Expire TCX URLs #14

rootelement opened this issue Sep 5, 2019 · 3 comments

Comments

@rootelement
Copy link
Contributor

When you get a git URL for the user to add themselves to a repo, right now it has git information in there (ids and such). This should be replaced with a TCX obfuscated URL that is validated before the user.

Suggestion:
https://x.topcoder.com/<project-slug>/<10 char alpha key>

When setting up this URL, you should be able to have it not expire, or set an expiry in days, defaulting to 60 days. When a user clicks a link that has expired, it should show them a page that tells them so.

You should be able to generate multiple URLs per project with different expirys on it, which could also be provided to different places.

You should be able to "delete" (soft delete) a URL from a project so it can't be used anymore. This should work no matter if the original URL had an expiration or not.

@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 6, 2019

that's not a git id. that's a guid

@rootelement
Copy link
Contributor Author

SO SHOOT ME!

No, that's even better. I think we should clean up the TCX url and shorten it, but if we have GUIDs, expiration and revoke should be easy to set up.

@jmgasper
Copy link
Collaborator

Moving this to the topcoder-x-ui repo, where I track changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants