thelastWallE / OctoprintKlipperPlugin

A plugin for a better integration of Klipper into OctoPrint.
GNU Affero General Public License v3.0
65 stars 14 forks source link

Shortcut to printer.cfg with granulary access #29

Closed thelastWallE closed 3 years ago

thelastWallE commented 3 years ago

closes #19

This displays a link, if someone is allowed to config klipper, on the klipper tab for the printer.cfg, It opens directly the plugin tab for OctoKlipper with the tab "Klipper Configuration". I tested it with a new user i made with only "Read-only Access". This user wouldn't then even see the link for the printer.cfg on the tab.

We can also add this function for all the other things that are displayed now but shouldn't if someone has no access for them. Like the list of macros for example. Screenshot 2021-01-13 003237

thelastWallE commented 3 years ago

Little update. I added a button for the sidebar to get even easier to the config file. I also changed the clickable text on the OctoKlipper tab to a button to give it more consistency with the rest of the design. Screenshot 2021-03-11 193026 @AliceGrey i hope we can merge this in the near future. It is a somewhat frequently requested feature.