UI-Lovelace-Minimalist/UI

Add config option for auto created dashboard to require admin

kaaspad opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
No easy way to set the auto created dashboards as admin only

Describe the solution you'd like
would like to be able to set admin only in the config of ULM

Describe alternatives you've considered
I've done this manually in base.py - line 367ish - changed require_admin to True

Additional context
2 problems with what I've considered - A. it doesn't hold after updating ULM and needs to be done again. B. it's not elegant. The elegant solution would be to add this item to the config of ULM so you are able to choose if the auto created dashboards (regular and adaptive) are admin only. I see in the code that this done with other options, so should be easy to do it with the require_admin as well.