Coder Social home page Coder Social logo

Comments (4)

foosel avatar foosel commented on June 2, 2024

Hehe, I had the same idea already, haven't come around to it yet though ;) Would also make it possible to allow access from the evil Internet (although that would require some more security audits). Making this a feature request for now.

from octoprint.

jjg avatar jjg commented on June 2, 2024

You're using Flask @foosel, correct? You could just use basic auth: http://flask.pocoo.org/snippets/8/

from octoprint.

plex3r avatar plex3r commented on June 2, 2024

Would certainly be good to have some levels of auth
admin who has access to everything
superprint who can upload gcode and access the machine controls but not settings
print who can only upload gcode and print
read only who can only see the temp graph and cam streams

This would be especially useful in schools.

from octoprint.

foosel avatar foosel commented on June 2, 2024

I already started on something like that when that nasty flu struck that's been forcing me into uselessly lying around now for the second week. Whats done is role management differing between anonymous, regular and admin users, with settings and system commands being restricted to admin right now. Adding new kinds of roles shouldnt be that big of a hassle. Whats missing is a convenient way to actually add users (right now I programmatically stubbed an admin and regular user) which is why I didnt make that stuff public yet.

from octoprint.

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.