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

exposing user & subscription id-s #173

Open
knagode opened this issue Oct 18, 2016 · 3 comments
Open

exposing user & subscription id-s #173

knagode opened this issue Oct 18, 2016 · 3 comments

Comments

@knagode
Copy link

knagode commented Oct 18, 2016

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?

@chinshr
Copy link

chinshr commented Dec 29, 2016

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

@jrz
Copy link

jrz commented Mar 26, 2017

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

@knagode
Copy link
Author

knagode commented Mar 27, 2017

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

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

No branches or pull requests

3 participants