Sink icon indicating copy to clipboard operation
Sink copied to clipboard

Users/Multiple tokens

Open 7heMech opened this issue 11 months ago • 5 comments

Would it be possible to implement a feature which implements a login or allows for more than one token, I can submit a PR probably. The idea is that users shouldn't be able to manage each other's links and only change to the current functionality will be telling you if the link is taken at creation. (But probably will make analytics harder as well)

7heMech avatar Jan 11 '25 19:01 7heMech

How do you plan to design the user management section?

miantiao-me avatar May 19 '25 12:05 miantiao-me

How do you plan to design the user management section?

Hey, well, I know this feature is a ton of work, so I don't mind if it's not done, but basically, I'd probably be like the page below ResizedImage_2025-05-19_15-51-07_1687.png

but with:

  • name on each card and some basic info like role and how many links.
  • two roles user and admin:
    • admins see everything normally + another user management page in the three dots above next to dashboard
    • users see only their own stuff.
  • The edit button you can edit password and name, the delete button is the same and maybe another (view as) to see the links they've made.

That'd be my idea, but yeah. To be honest I didn't even think of a management page when I suggested this idea, I just wanted isolation of links in some way, but it makes sense.

7heMech avatar May 19 '25 12:05 7heMech

I don't know if Identity can be used directly.

https://developers.cloudflare.com/cloudflare-one/identity/

miantiao-me avatar May 19 '25 13:05 miantiao-me

I don't know if Identity can be used directly.

https://developers.cloudflare.com/cloudflare-one/identity/

Ooh, that'd be cool yes

7heMech avatar May 19 '25 13:05 7heMech

Something simple, just supporting multiple tokens would be great for my use case, I don't need full user management or per token reporting. Just allows different teams to all share a single Sink instance without all having the one token.

The full featured user management, per user reporting, etc... would be cool as well of course. 😄

NickStallman avatar Jul 07 '25 00:07 NickStallman