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

Make it possible for a user to retrieve his user id #8892

Closed
alexgarel opened this issue Aug 21, 2023 · 8 comments
Closed

Make it possible for a user to retrieve his user id #8892

alexgarel opened this issue Aug 21, 2023 · 8 comments
Labels
✨ Feature Features or enhancements to Open Food Facts server good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. 👥 Users

Comments

@alexgarel
Copy link
Member

Problem

As stated on slack by a user, it's very hard to retrieve your user id. It only appears in the urls.

It should be easy for a user to know his userid.

Proposed solution

Display the user id in the "account parameters" page.

Code pointers

see cgi/user.pl which use a template (see at the end). Just add userid it in the template context and display it in the template.

Part of:

@alexgarel alexgarel added ✨ Feature Features or enhancements to Open Food Facts server good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. 👥 Users labels Aug 21, 2023
Copy link
Contributor

This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts

@github-actions github-actions bot added the Stale label Nov 20, 2023
@teolemon teolemon added ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. and removed Stale labels Nov 24, 2023
@himanshi-154
Copy link

I would like to work on this issue!

@TheSussex
Copy link
Collaborator

Hi @alexgarel, can you confirm if this issue is stale or not? I'm a bit confused because I went through the problem description and tried to recreate on my end but I see that the userid already exists on the Account Parameters page hence why I want to know if it still needs some work. See screenshot for reference.

Also, should the field be called username? Isn't userid more descriptive especially because that's what brought up the issue in the first place.

Uploading Screenshot 2024-03-15 at 9.58.35 AM.png…

@himanshi-154
Copy link

@TheSussex I am already working on this issue, thanks!

@alexgarel
Copy link
Member Author

I think it was fixed some times ago ! Thanks for reporting.

@stephanegigandet
Copy link
Contributor

Also, should the field be called username? Isn't userid more descriptive especially because that's what brought up the issue in the first place.

That's a good point, I will file another issue.

@stephanegigandet
Copy link
Contributor

Filed #9942

@john-gom
Copy link
Contributor

Keycloak supersedes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Features or enhancements to Open Food Facts server good first issue Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help. ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. 👥 Users
Projects
None yet
Development

No branches or pull requests

6 participants