[GH-ISSUE #91] Wrong stats for members in pangolin #26899

Closed
opened 2026-06-10 21:39:23 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @Lokowitz on GitHub (Jan 21, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/91

When logging in with an user with role "member" the pangolin page is not showing the correct values.
I have one local site and three resources.
The user has access to one resource.

I also tried with incognito window.

Image

Originally created by @Lokowitz on GitHub (Jan 21, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/91 When logging in with an user with role "member" the pangolin page is not showing the correct values. I have one local site and three resources. The user has access to one resource. I also tried with incognito window. ![Image](https://github.com/user-attachments/assets/64ca8dfa-f0e1-4996-a5f8-6d5fbdb733e3)
GiteaMirror added the uipotential bugneeds investigatinggood first issue labels 2026-06-10 21:39:33 -05:00
Author
Owner

@Lokowitz commented on GitHub (Jan 22, 2025):

Perhaps a list view of all accessible resources for the logged-in user would be nice. Like a small dashboard.

<!-- gh-comment-id:2606927607 --> @Lokowitz commented on GitHub (Jan 22, 2025): Perhaps a list view of all accessible resources for the logged-in user would be nice. Like a small dashboard.
Author
Owner

@miloschwartz commented on GitHub (Jan 22, 2025):

Perhaps a list view of all accessible resources for the logged-in user would be nice. Like a small dashboard.

This is where we were planning on heading with the landing pages. We weren't sure yet what we wanted the dashboard to look like, so we put these placeholders there in the mean time. I think what you described would be ideal.

<!-- gh-comment-id:2607651751 --> @miloschwartz commented on GitHub (Jan 22, 2025): > Perhaps a list view of all accessible resources for the logged-in user would be nice. Like a small dashboard. This is where we were planning on heading with the landing pages. We weren't sure yet what we wanted the dashboard to look like, so we put these placeholders there in the mean time. I think what you described would be ideal.
Author
Owner

@cirrusflyer commented on GitHub (Feb 3, 2025):

And a general member user shouldn't be able to see the number of users. Just what resources they have access to.

<!-- gh-comment-id:2629886192 --> @cirrusflyer commented on GitHub (Feb 3, 2025): And a general member user shouldn't be able to see the number of users. Just what resources they have access to.
Author
Owner

@LeonvanHeerden commented on GitHub (Mar 20, 2025):

If you go to the resources page and make sure that your user's email is selected under the Authentication -> Users & Roles, then the Resources will increase to show how many you have access too on the Dashboard. The Role doesn't seem to have an effect on the count even though the access works.

It would be nice to show all the URLs that they have access to, so that they can just click them to go to the site.

<!-- gh-comment-id:2741551478 --> @LeonvanHeerden commented on GitHub (Mar 20, 2025): If you go to the resources page and make sure that your user's email is selected under the Authentication -> Users & Roles, then the Resources will increase to show how many you have access too on the Dashboard. The Role doesn't seem to have an effect on the count even though the access works. It would be nice to show all the URLs that they have access to, so that they can just click them to go to the site.
Author
Owner

@Lokowitz commented on GitHub (Sep 25, 2025):

Implemented in PR

<!-- gh-comment-id:3335798901 --> @Lokowitz commented on GitHub (Sep 25, 2025): Implemented in [PR](https://github.com/fosrl/pangolin/pull/1124)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#26899