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

[QUESTION] Is there a way to disable settings menu as a whole in dashboard? #1080

Closed
4 tasks done
scribblepad opened this issue Jan 24, 2023 · 11 comments
Closed
4 tasks done
Labels
🕸️ Inactive 🤷‍♂️ Question [ISSUE] Further information is requested

Comments

@scribblepad
Copy link

Question

There are appConfig boolean values like disableConfiguration which disables user from changing config. Wondering if there is a way to disable settings menu as a whole in dashboard UI. Tried hideSettings in appConfig and that doesn't work either.

Basically this would avoid changing things in UI. I wanted to keep things strictly changeable via conf.yml file.

Thanks.

Category

Configuration

Please tick the boxes

@scribblepad scribblepad added the 🤷‍♂️ Question [ISSUE] Further information is requested label Jan 24, 2023
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@liss-bot
Copy link
Collaborator

This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

@liss-bot liss-bot added the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Feb 24, 2023
@scribblepad
Copy link
Author

Any insights on this would be helpful.

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed ⚰️ Stale [ISSUE] [PR] No activity for over 1 month labels Feb 24, 2023
@Lissy93
Copy link
Owner

Lissy93 commented Feb 26, 2023

Hey @scribblepad - the best way to properly achieve this would be to make the conf.yml read-only. In Docker, that can be done with the readonly option. This would prevent any changes being able to be written.

Use that alongside appConfig.disableConfiguration: true, and the user won't be able to access any settings, beyond local only options (language and theme)

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Feb 26, 2023
@liss-bot
Copy link
Collaborator

This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.

@liss-bot liss-bot added the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Mar 29, 2023
@liss-bot
Copy link
Collaborator

liss-bot commented Apr 4, 2023

This issue was automatically closed because it has been stalled for over 6 weeks with no activity.

@liss-bot liss-bot closed this as completed Apr 4, 2023
@liss-bot liss-bot removed the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Apr 4, 2023
@GyHUN95
Copy link

GyHUN95 commented May 13, 2024

We should reopen this, beacause it can not be disabled from code neither, unfortunately.
image

@Lissy93
Copy link
Owner

Lissy93 commented May 13, 2024

Should work if you set disableConfiguration: true under appConfig

@maks2199
Copy link

Hi everyone! @Lissy93, I really like this project, looks very nice and inspiring! I agree with the author of Issue, it would be helpfull to be able to disable any configuration at all, including theme, color, layout, and view settings.

disableConfiguration: true allows to hide the bar and prevents from changing the sections and items, but not prevents from changing layout, view type, e.t.c.

@Trungtin1011
Copy link

Hi @Lissy93,

I agree with @maks2199 about the Settings panel. Even when I set appConfig.disableConfiguration: true and appConfig.hideComponents.hideSettings: true, other users can still go to the dashboard, toggle open the Settings Menu and edit Themes, Layout, Item Size. They can even view the content of config file in Config > Update Configuration > Click conf.yml in Using config from /conf.yml

image

We need an option to completely disable the toggling of Setting Menu, so that user opening the page can only click into the items

@sduperret
Copy link

sduperret commented Nov 24, 2024

Hi,
As @maks2199 and @Trungtin1011 i truely love dashy !
It may/will be amazing if we had the option directly on the app to disable editing (or protect it with a password) !
Looking forward to have some news on this feature 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕸️ Inactive 🤷‍♂️ Question [ISSUE] Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants