koudoku icon indicating copy to clipboard operation
koudoku copied to clipboard

exposing user & subscription id-s

Open knagode opened this issue 7 years ago • 3 comments

I see that koudoku is exposing user id & subscription id in URL:

/koudoku/users/4/subscriptions/12

Visiting /user/subscription could automatically open current_user and current_subscription. Is there a quick way to do it?

knagode avatar Oct 18 '16 11:10 knagode

@knagode If you are using e.g. Postgres, you could change your user and subscription primary keys to type UID.

chinshr avatar Dec 29 '16 18:12 chinshr

The route shouldn't be exposing either one.. @knagode did you manage?

jrz avatar Mar 26 '17 14:03 jrz

@jrz haven't found a good solution and said .. Lets leave it as it is until we get more subscribers :)

knagode avatar Mar 27 '17 12:03 knagode