dwyl / smart-home-auth-server

The authorisation server for dwyl/smart-home-security-system
GNU General Public License v2.0
5 stars 1 forks source link

Add a checkbox interface for User access. #8

Open th0mas opened 4 years ago

th0mas commented 4 years ago

Theres no way in the Access context to add doors to a User, only to add Users to a door.

We should also be able to group doors to make this simpler.

nelsonic commented 4 years ago

@th0mas this functionality will overlap with the permissions system in our RBAC. Are you planning to build the checkbox interface in smart-home-auth-server (this project) from scratch? (sorry that the RBAC does not already exist in auth for you to use ... it will soon!) 🔜 https://github.com/dwyl/auth/issues/31

th0mas commented 4 years ago

Good point!

I was planning to do that, but I agree with you that some of this would probably be more suited to Auth. I'm happy to wait to see what you come up with for RBAC and then discuss how that can be integrated here.

I'm sure I can find some bugs to fix in the mean time :)

nelsonic commented 4 years ago

Bugs perhaps, but features for sure! Have you already fired up your POE Switch and tried using it to power the RPi4/Zero? 🤔 Defo open an issue and work on that if you haven't already. 💡 We need to figure out the hardware side of things every bit as much as the software. Ideally we would figure out how to power both the RPi0 and the 12V Door Lock from the same POE Cable. 😮 (and if that's not possible, we will need to work-around it pretty soon as our design was - perhaps naively - counting on it ...) If you need a voltmeter, wire stripper, or any other tool/component, it's good to figure that out ASAP so they can be ordered as it will take a few days for them to arrive from AMZN. If in doubt always prioritise Hardware as it has the biggest lead time. See: https://en.wikipedia.org/wiki/Theory_of_constraints 😉