Settings based on logged in user?


#1

Hey All,

I'm working on a plugin that will allow my lab to log issues with printers online from within OctoPrint, and that would POST an issue to a Github so we could deal with any printer problems accordingly. To do this however the plugin would need to store data separately per userm to associate their account with their GitHub account (also only admins should be able to do this)

Anyone have any ideas on how to do this? Should I just work on making a database to handle this information.

(Additionally, would it make sense to change the access control system to something like mySQL or something? Benefits being it would be incredibly extendable? I'm not to used to this stuff yet so let me know if I'm wrong)

Thanks,


#2

I can't help with your main question, but I believe a more granular access control system is in the works for a future release.