[Feature] Hide Discord link for non-admins on web UI #21131
ddshd
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Only show the following Discord link for admin users:
immich/web/src/lib/modals/HelpAndFeedbackModal.svelte
Lines 45 to 55 in 571504a
The modal makes it seem like non-admins should be using Discord for their support, instead of asking their admin.
Admins should be okay to see and use the link since they are more likely able to provide more information to track down a bug.
Documentation and source links are pretty harmless for users to look at if they want to.
Places in the web where
user.isAdmin
is used (to borrow the logic from):https://github.com/search?q=repo%3Aimmich-app%2Fimmich+path%3Aweb%2F+%24user.isAdmin&type=code
Platform
Beta Was this translation helpful? Give feedback.
All reactions