Giter Site home page Giter Site logo

Comments (5)

Lissy93 avatar Lissy93 commented on July 19, 2024 2

Actually, this sounds like something which should be implemented by default.
If basic auth is enabled, and the user is not logged in, they shouldn't be able to write any changes.

Thoughts?

from dashy.

Lissy93 avatar Lissy93 commented on July 19, 2024 2

maybe an option disableSettings to globally stop non-admin to edit and basically view only

Thanks @rxunique - Done!

I figured, if you've setup basic auth, and have guest access enabled- you wouldn't want guests to be able to edit configuration (otherwise there's not much point to the auth, beyond roles).

So instead of adding an extra option to disable edits from guests, it's now (since V 3.0.1) disabled by default. And so logging in is required to make changes, if auth is enabled.

If you need anything else modifying around this, let me know below, and I'll reopen.

from dashy.

liss-bot avatar liss-bot commented on July 19, 2024

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

from dashy.

rxunique avatar rxunique commented on July 19, 2024

+1

from dashy.

rxunique avatar rxunique commented on July 19, 2024

should be implemented by default

Do you mean there is already implementation? Or thinking its a good idea to be default?

If basic auth is enabled, and the user is not logged in

In my mind, I was hoping add an option to appConfig.hideComponents . currently hideSettings only collapsed the setting

maybe an option disableSettings to globally stop non-admin to edit and basically view only

from dashy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.