-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
When choosing to log in to access the site, uploaded photos will not be displayed due to insufficient permissions. #1214
Comments
Thank you very much for your help. I basically understand the reason now. My current setup is: deploying Answer on a local network with an internal IP, and then using DDNS to map this to a domain name. I access Answer officially through the domain name and port number. However, after logging in, the images cannot be displayed. Is there any good solution? Chinese(I don't know which country you are from, so I'm sending it in both languages to avoid not understanding the content): |
@xingbaokeji Sorry, I took a look, and it seems that there isn't currently a suitable solution to handle this particular scenario. Perhaps in future versions, we could disable this security measure through a special environment variable or setting. |
ok,Thank you.。You can try to revoke the permission for the images in the issue, or make them selectable in the background for users to self manage risks. At present, users cannot see the specific content of the website without logging in, so I believe that revoking their image viewing permission is safe. |
If you are okay with your images being publicly available, I resolved this by NGIX proxy. Here is my config.
|
When choosing to log in to access the site, uploaded photos will not be displayed due to insufficient permissions. When the user logs in normally, photos, videos, and attachments cannot be displayed
The text was updated successfully, but these errors were encountered: