-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BUG] I can edit the whole config even i am a guest #590
Comments
Same (or similar) issue is also in version 2.0.7, where authentication is not working. I configured When I open application in the browser I don't get any authentication requests. |
Ignore my previous comment - it is related to issue #601 @reke-buchenau are you using docker compose ? |
Same problem here. |
@am93 |
A quick "Hold the line" workaround is to make the conf file read only in docker.
|
I've tracked some of what could be to these files: src/components/InteractiveEditor/EditModeSaveMenu.vue
src/utils/Auth.js
I couldn't dig much deeper |
Hi, sorry for my late reply. Yes, i use the docker compose. |
I'm having this same issue, I'm also using docker-compose. I guess I'll leave guest access off until this is fixed. |
I'm facing the same issue. Contrary to others I'm running this self-compiled. |
The fix for this issue has now been released in 2.0.9 ✨ If you haven't done so already, please update your instance to Feel free to reach out if you need any more support. If you are enjoying Dashy, consider supporting the project. |
Environment
Self-Hosted (Docker)
Version
2.0.6
Describe the problem
Hi,
my i can edit the whole config even i am in the guest mode. I removed all cookies and caches but nothing happened.
This is my Config:
{
"appConfig": {
"customCss": "",
"layout": "vertical",
"iconSize": "large",
"theme": "one-dark",
"language": "de",
"startingView": "default",
"defaultOpeningMethod": "newtab",
"statusCheck": true,
"statusCheckInterval": 5,
"faviconApi": "google",
"routingMode": "hash",
"enableMultiTasking": false,
"widgetsAlwaysUseProxy": false,
"webSearch": {
"disableWebSearch": false,
"searchEngine": "google",
"openingMethod": "newtab",
"searchBangs": {}
},
"enableFontAwesome": true,
"enableMaterialDesignIcons": false,
"hideComponents": {
"hideHeading": false,
"hideNav": false,
"hideSearch": false,
"hideSettings": false,
"hideFooter": true
},
"auth": {
"enableGuestAccess": true,
"users": [
{
"user": "admin",
"hash": "passwordhash",
"type": "admin"
}
],
"enableKeycloak": false
},
"showSplashScreen": true,
"preventWriteToDisk": false,
"preventLocalSave": true,
"disableConfiguration": false,
"allowConfigEdit": true,
"enableServiceWorker": false,
"disableContextMenu": false,
"disableUpdateChecks": false,
"disableSmartSort": false,
"enableErrorReporting": false,
"customColors": {
"one-dark": {
"primary": "#c5cad3",
"background": "#282c33",
"background-darker": "#1c1f23"
}
}
},
"pageInfo": {
"title": "IT Linksammlung",
"description": "Alle wichtigen Links",
"navLinks": [],
"footerText": ""
},
"sections": [
{
"name": "Server",
"icon": "fas fa-globe",
"displayData": {
"sortBy": "default",
"rows": 1,
"cols": 1,
"collapsed": false,
"hideForGuests": false
},
"items": [
{
}
]
}
]
}
Can you help me?
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: